Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-05 23:59:11.619857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083407
  datou_current_id : 2727233
in upload_from_sqlite, uploading in 22083407
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05042025/17/10/image_05042025_17_10_08_3011.jpg', '/home/pi/Desktop/images/05042025/17/12/image_05042025_17_12_20_3168.jpg', '/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_23_3645.jpg', '/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_32_3636.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_50_2761.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_52_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727233&datou=0
/home/pi/Desktop/images/05042025/17/10/image_05042025_17_10_08_3011.jpg
/home/pi/Desktop/images/05042025/17/12/image_05042025_17_12_20_3168.jpg
/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_23_3645.jpg
/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_32_3636.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_50_2761.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_52_2686.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d4b90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.8618655204773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 00:01:42.504966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083407
  datou_current_id : 2727233
in upload_from_sqlite, uploading in 22083407
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05042025/17/10/image_05042025_17_10_08_3011.jpg', '/home/pi/Desktop/images/05042025/17/12/image_05042025_17_12_20_3168.jpg', '/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_23_3645.jpg', '/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_32_3636.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_50_2761.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_52_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727233&datou=0
/home/pi/Desktop/images/05042025/17/10/image_05042025_17_10_08_3011.jpg
/home/pi/Desktop/images/05042025/17/12/image_05042025_17_12_20_3168.jpg
/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_23_3645.jpg
/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_32_3636.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_50_2761.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_52_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5490970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.4592626094818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 00:04:02.605321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083407
  datou_current_id : 2727233
in upload_from_sqlite, uploading in 22083407
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05042025/17/10/image_05042025_17_10_08_3011.jpg', '/home/pi/Desktop/images/05042025/17/12/image_05042025_17_12_20_3168.jpg', '/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_23_3645.jpg', '/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_32_3636.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_50_2761.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_52_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727233&datou=0
/home/pi/Desktop/images/05042025/17/10/image_05042025_17_10_08_3011.jpg
/home/pi/Desktop/images/05042025/17/12/image_05042025_17_12_20_3168.jpg
/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_23_3645.jpg
/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_32_3636.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_50_2761.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_52_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5547bd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.5989339351654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 00:06:22.407229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083407
  datou_current_id : 2727233
in upload_from_sqlite, uploading in 22083407
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05042025/17/10/image_05042025_17_10_08_3011.jpg', '/home/pi/Desktop/images/05042025/17/12/image_05042025_17_12_20_3168.jpg', '/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_23_3645.jpg', '/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_32_3636.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_50_2761.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_52_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727233&datou=0
/home/pi/Desktop/images/05042025/17/10/image_05042025_17_10_08_3011.jpg
/home/pi/Desktop/images/05042025/17/12/image_05042025_17_12_20_3168.jpg
/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_23_3645.jpg
/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_32_3636.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_50_2761.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_52_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54dc930>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.15469646453857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 00:08:41.957747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083407
  datou_current_id : 2727233
in upload_from_sqlite, uploading in 22083407
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05042025/17/10/image_05042025_17_10_08_3011.jpg', '/home/pi/Desktop/images/05042025/17/12/image_05042025_17_12_20_3168.jpg', '/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_23_3645.jpg', '/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_32_3636.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_50_2761.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_52_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727233&datou=0
/home/pi/Desktop/images/05042025/17/10/image_05042025_17_10_08_3011.jpg
/home/pi/Desktop/images/05042025/17/12/image_05042025_17_12_20_3168.jpg
/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_23_3645.jpg
/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_32_3636.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_50_2761.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_52_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb550d5f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.8464753627777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 00:11:03.337288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083407
  datou_current_id : 2727233
in upload_from_sqlite, uploading in 22083407
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05042025/17/10/image_05042025_17_10_08_3011.jpg', '/home/pi/Desktop/images/05042025/17/12/image_05042025_17_12_20_3168.jpg', '/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_23_3645.jpg', '/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_32_3636.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_50_2761.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_52_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727233&datou=0
/home/pi/Desktop/images/05042025/17/10/image_05042025_17_10_08_3011.jpg
/home/pi/Desktop/images/05042025/17/12/image_05042025_17_12_20_3168.jpg
/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_23_3645.jpg
/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_32_3636.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_50_2761.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_52_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5497750>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.827086687088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 00:13:22.352130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5449570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5449570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5449570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 06:39:03.035512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 06:39:26.588763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d2550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d2550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d2550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 06:42:03.271139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a7590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a7590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a7590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 06:44:21.996993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f1230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f1230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f1230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 06:46:42.405183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548a2d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548a2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548a2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 06:49:03.590283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a8230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a8230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a8230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 06:51:23.288156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5474230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5474230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5474230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 06:53:42.495038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c9250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c9250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c9250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 06:56:02.979028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5469250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5469250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5469250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 06:59:02.929681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548f230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548f230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548f230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:01:21.972497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5488570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5488570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5488570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:03:42.021629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a0630>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a0630>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a0630>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:06:02.670189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546a210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546a210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546a210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:08:22.436673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e92f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e92f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e92f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:10:42.607523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548c1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:13:02.579079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f44f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f44f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f44f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:15:22.379549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb619d790>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb619d790>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb619d790>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:17:42.274447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54651b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54651b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54651b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:20:05.424643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548d610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548d610>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548d610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:22:22.285730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543a590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543a590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543a590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:24:42.369898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543b270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543b270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543b270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:27:03.291664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5432190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5432190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5432190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:29:22.003118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544e550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544e550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544e550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:31:42.047357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5469550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5469550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5469550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:34:02.658547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f0250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f0250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f0250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:36:22.295286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5489230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5489230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5489230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:38:42.790349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d5570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d5570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d5570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:41:03.400909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b0570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b0570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b0570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:43:22.633919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb547b590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547b590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547b590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:45:41.932701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544d510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:48:02.940653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546d570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546d570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546d570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:50:21.888163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542c5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542c5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542c5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:52:42.134991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54644d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54644d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54644d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:55:03.306622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a4550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a4550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a4550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 07:59:04.981813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542c1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542c1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542c1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:01:22.847868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54645b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54645b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54645b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:03:42.286698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f94d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f94d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f94d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:06:02.991153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5452530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5452530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5452530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:08:22.450762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54bc350>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bc350>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bc350>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:10:42.553884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5456530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5456530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5456530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:13:03.486782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c34f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c34f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c34f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:15:22.489862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5400550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5400550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5400550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:17:42.018606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54901f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54901f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54901f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:20:02.730648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54301f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54301f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54301f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:22:22.647180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54911d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54911d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54911d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:24:42.552358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5442530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5442530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5442530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:27:02.686908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a6590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a6590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a6590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:29:21.980175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f25b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f25b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f25b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:31:42.144286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54225d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54225d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54225d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:34:03.210288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5447570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5447570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5447570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:36:24.604168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54731f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54731f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54731f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:38:42.835080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54022f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54022f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54022f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:41:02.888314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54af570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54af570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54af570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:43:26.456893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d85d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d85d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d85d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:45:43.495211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f51b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f51b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f51b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:48:03.115815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540e530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540e530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540e530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:50:22.271914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54bb310>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bb310>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bb310>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:52:42.450159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53ef530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ef530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ef530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:55:02.976632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54d0570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d0570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d0570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 08:59:03.164363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e45b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e45b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e45b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:01:22.555291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545b270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545b270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545b270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:03:42.075479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540c270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540c270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540c270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:06:03.291023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5425550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5425550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5425550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:08:22.356535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54cb5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cb5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cb5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:10:42.490102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541b570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541b570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541b570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:13:03.053517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5418550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5418550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5418550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:15:22.246312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5471590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5471590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5471590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:17:42.825355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5451190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5451190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5451190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:20:03.191950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a1570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a1570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a1570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:22:22.003491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5431550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5431550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5431550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:24:44.660081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d4530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d4530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d4530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:27:02.946172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5484170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5484170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5484170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:29:21.815673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548d510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:31:42.501698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543a210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543a210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543a210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:34:02.919032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54875b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54875b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54875b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:36:21.928510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53fa5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fa5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fa5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:38:42.635018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5429550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5429550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5429550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:41:02.923597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54295b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54295b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54295b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:43:21.916246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5461550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5461550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5461550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:45:42.855849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5f216f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5f216f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5f216f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:48:02.508299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546d270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546d270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546d270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:50:22.160186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53ef630>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ef630>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ef630>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:52:42.365286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5456570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5456570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5456570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:55:02.698115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541d1d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541d1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541d1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 09:59:03.423294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54585f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54585f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54585f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:01:41.961802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c8210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c8210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c8210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:04:02.806178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b2570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b2570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b2570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:06:22.452111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542f530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542f530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542f530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:08:42.826849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541a210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541a210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541a210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:11:03.403942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5443230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5443230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5443230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:13:22.352974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545b190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545b190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545b190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:15:42.653480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542b590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542b590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542b590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:18:03.174235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d8590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d8590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d8590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:20:22.289136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5483210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5483210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5483210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:22:41.993179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5455570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5455570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5455570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:25:03.289795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548c1d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:27:22.270364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb547f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:29:42.556729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5449210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5449210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5449210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:32:02.462810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54bd550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bd550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bd550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:34:21.927453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54204f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54204f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54204f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:36:42.677561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5483230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5483230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5483230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:39:03.462465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544b590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544b590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544b590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:41:22.260846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540c210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540c210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540c210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:43:42.022652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d9230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d9230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d9230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:46:03.450533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5430190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5430190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5430190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:48:22.279641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53fc590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fc590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fc590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:50:42.014618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54754f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54754f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54754f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:53:02.624381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a8270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a8270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a8270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:55:21.189794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54894f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54894f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54894f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 10:59:03.224311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549e1b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549e1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549e1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:01:22.032172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e64d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e64d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e64d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:03:42.907838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5447290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5447290>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5447290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:06:03.279950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549e230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549e230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549e230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:08:21.956146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54115b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54115b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54115b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:10:41.778874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53df570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53df570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53df570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:13:02.848159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b31f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b31f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b31f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:15:24.190956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5497570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5497570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5497570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:17:41.951486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5496510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5496510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5496510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:20:02.444855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53fc230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fc230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fc230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:22:22.489657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5419590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5419590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5419590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:24:41.915022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c71b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c71b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c71b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:27:02.937009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54125f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54125f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54125f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:29:22.121525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5403270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5403270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5403270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:31:41.939991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5471230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5471230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5471230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:34:02.670070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54341f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54341f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54341f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:36:22.335706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5489550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5489550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5489550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:38:42.203867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548c570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:41:02.618786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5446550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5446550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5446550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:43:22.986554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54471b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54471b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54471b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:45:42.567159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5450210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5450210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5450210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:48:03.060350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:50:21.911735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f7250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f7250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f7250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:52:42.340246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b95d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b95d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b95d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:55:03.611485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549e5d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549e5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549e5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 11:59:02.754410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54bb550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bb550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bb550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:01:22.547894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b6610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b6610>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b6610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:03:41.940172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549f210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549f210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549f210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:06:03.236928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d7550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d7550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d7550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:08:21.867606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54211f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54211f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54211f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:10:42.240574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a02d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a02d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a02d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:13:02.957548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5446530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5446530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5446530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:15:22.671915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54af2d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54af2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54af2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:17:42.310959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb547f230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547f230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547f230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:20:02.580238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a61d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a61d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a61d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:22:22.015823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5479550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5479550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5479550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:24:42.139845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5445590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5445590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5445590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:27:03.229570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5495590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5495590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5495590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:29:22.698984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53fd550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fd550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fd550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:31:42.560038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54871f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54871f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54871f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:34:03.036415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5414550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5414550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5414550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:36:22.635122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5419210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5419210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5419210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:38:42.185194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545c5d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545c5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545c5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:41:03.090675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541c1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541c1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541c1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:43:21.897562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5484570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5484570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5484570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:45:42.811319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54751f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54751f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54751f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:48:02.697614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5411510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5411510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5411510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:50:22.557249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e81f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e81f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e81f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:52:42.179289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c8510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c8510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c8510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:55:03.391221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5451550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5451550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5451550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 12:59:03.504242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548c4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:01:22.315737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54bd590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bd590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bd590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:03:42.488981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53dc1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53dc1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53dc1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:06:03.841911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540e490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540e490>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540e490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:08:21.946537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c81b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c81b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c81b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:10:42.403578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548c5f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c5f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c5f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:13:03.345455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549f510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549f510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549f510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:15:22.495369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d55d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d55d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d55d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:17:42.794477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545f4f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545f4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545f4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:20:02.792316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb547b550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547b550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547b550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:22:22.220434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543e5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543e5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543e5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:24:42.593968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ca570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ca570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ca570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:27:03.279664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546c550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546c550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546c550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:29:22.432872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548e350>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548e350>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548e350>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:31:42.112209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5437530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5437530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5437530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 13:34:03.375263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:34:22.534136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c25b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c25b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c25b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:36:42.269505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5473570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5473570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5473570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:39:03.228529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540b1d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540b1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540b1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:41:22.000249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ac570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ac570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ac570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:43:42.919221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54911f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54911f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54911f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:46:03.094164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5457210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5457210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5457210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:48:22.576183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545c590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545c590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545c590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:50:42.178942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541b550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541b550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541b550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:53:02.959165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54305d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54305d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54305d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:55:21.968512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5406250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5406250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5406250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 13:59:03.504577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53fc570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fc570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fc570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:01:22.003425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b3210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b3210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b3210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:03:42.558768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54305b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54305b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54305b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:06:02.901251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5495190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5495190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5495190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:08:22.600547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54384f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54384f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54384f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:10:41.828982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ca230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ca230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ca230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:13:02.699414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545e510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545e510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545e510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:15:22.335486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ac510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ac510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ac510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:17:42.855614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5465310>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5465310>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5465310>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:20:02.982819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546a2d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546a2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546a2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:22:21.814541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549f570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549f570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549f570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:24:42.679180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5488550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5488550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5488550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:27:03.110053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53fd270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fd270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fd270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:29:21.885299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544c2d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544c2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544c2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:31:42.820298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b62b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b62b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b62b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:34:02.625353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ad190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ad190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ad190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:36:22.537801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54785b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54785b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54785b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:38:42.636551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54874f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54874f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54874f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:41:03.317696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54431d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54431d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54431d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:43:22.702048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53db270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53db270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53db270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:45:42.340579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e6590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e6590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e6590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 14:48:07.573748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 14:48:42.408084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 14:49:02.929772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 14:49:22.803278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:49:42.565233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548c250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:52:02.963653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5449250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5449250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5449250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:54:22.949614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e91b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e91b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e91b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 14:59:03.235845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5477590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5477590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5477590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:01:22.434681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54274d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54274d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54274d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:03:42.803533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5419590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5419590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5419590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 15:06:05.158392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:06:22.793902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5483550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5483550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5483550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:08:41.946696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ab210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ab210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ab210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:11:02.727454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54105b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54105b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54105b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:13:29.743120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a35b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a35b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a35b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:16:02.709217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb547f190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547f190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547f190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:18:22.667574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53da510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53da510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53da510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:20:42.473916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ae5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ae5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ae5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:23:03.539341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548f1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548f1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548f1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:25:22.685764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54131d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54131d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54131d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:27:42.310092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53fc5f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fc5f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fc5f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:30:03.115820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b41b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b41b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b41b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:32:22.037374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5469270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5469270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5469270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:34:42.313679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5484270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5484270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5484270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:37:03.324156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ad210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ad210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ad210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:39:21.992859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5446590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5446590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5446590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:41:41.777611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5499550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5499550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5499550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:44:03.597580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542e5d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542e5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542e5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:46:22.702494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c7230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c7230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c7230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:48:42.257049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540d590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540d590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540d590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:51:02.616888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c14f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c14f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c14f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:53:22.789201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54bf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bf2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:55:42.370343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544f550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544f550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544f550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 15:59:03.199502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54505f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54505f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54505f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:01:22.517680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5491530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5491530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5491530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:03:42.134916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d6490>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d6490>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d6490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 16:06:03.956100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:06:22.508026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5495570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5495570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5495570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:08:41.957430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549a570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549a570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549a570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:11:03.024789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5425190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5425190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5425190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:13:22.244856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53de570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53de570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53de570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:15:42.013972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e8230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e8230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e8230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:18:02.796395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5470510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5470510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5470510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:20:22.017170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53fc570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fc570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fc570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:22:42.655274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5466590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5466590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5466590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:25:02.881371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5404210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5404210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5404210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:27:22.682656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54635d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54635d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54635d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:29:42.085899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54425b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54425b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54425b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:32:02.966362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5405510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5405510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5405510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:34:22.645926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f0530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f0530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f0530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 16:36:41.915430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 16:37:02.694784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 16:37:22.180324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 16:37:42.375734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 16:38:15.761131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 16:38:22.493473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
2025-04-06 16:38:56.814442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:39:34.956544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54412d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54412d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54412d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:42:03.251136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f0310>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f0310>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f0310>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:44:22.046446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53ef230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ef230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ef230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:46:42.439326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5403230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5403230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5403230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:49:03.113164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54d0510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d0510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d0510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:51:22.438796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c5330>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c5330>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c5330>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:53:41.800876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b52d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b52d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b52d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:56:03.073847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5473150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5473150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5473150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 16:59:03.171211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54831b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54831b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54831b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:01:22.060039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d84f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d84f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d84f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:03:42.421148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541c4f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541c4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541c4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:06:03.216106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54621f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54621f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54621f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:08:22.433776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542c210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542c210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542c210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:10:42.155224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54541f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54541f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54541f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:13:02.835225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54845b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54845b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54845b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:15:21.811936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5407590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5407590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5407590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:17:42.088294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54594f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54594f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54594f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:20:03.055099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c0550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c0550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c0550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:22:22.257888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542b550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542b550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542b550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:24:41.893597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f52f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f52f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f52f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:27:03.344264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c31f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c31f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c31f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:29:22.589264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5495550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5495550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5495550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:31:42.132669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c3310>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c3310>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c3310>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:34:02.890099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53dd5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53dd5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53dd5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:36:22.011724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54995b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54995b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54995b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:38:42.491405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c3210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c3210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c3210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:41:02.569263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549a5d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549a5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549a5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:43:22.360957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5443170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5443170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5443170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:45:42.109887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a2150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a2150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a2150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:48:02.984995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5420550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5420550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5420550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:50:22.656319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5472590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5472590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5472590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:52:41.769979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54634d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54634d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54634d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:55:04.434409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54874f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54874f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54874f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 17:59:02.843748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b4190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b4190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b4190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:01:22.642157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54cc590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cc590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cc590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:03:42.166037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f2530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f2530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f2530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:06:03.138188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545e530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545e530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545e530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:08:22.461303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54cb5d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cb5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cb5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:10:53.815651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54611f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54611f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54611f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:13:22.604640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53ef290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ef290>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ef290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:15:42.023879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5493350>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5493350>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5493350>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:18:02.466220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543c590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543c590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543c590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:20:22.257991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5474290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5474290>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5474290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:22:42.783198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5436590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5436590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5436590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:25:02.617124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5433550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5433550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5433550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:27:22.718403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544a170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544a170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544a170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:29:42.197207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54141f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54141f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54141f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:32:02.532479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f3570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f3570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f3570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:34:21.804449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5400570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5400570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5400570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:36:42.460184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ca550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ca550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ca550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:39:03.321647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ac2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ac2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ac2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:41:22.514329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54cd510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cd510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cd510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:43:41.937556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a6550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a6550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a6550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:46:02.820132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb547b270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547b270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547b270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:48:22.348553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e5250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e5250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e5250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:50:42.116399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5457570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5457570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5457570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:53:02.685305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5438250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5438250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5438250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:55:21.973535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b1270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b1270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b1270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 18:59:03.445353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a0550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a0550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a0550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:01:23.706929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541b570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541b570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541b570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:03:42.027506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c9230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c9230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c9230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:06:03.399472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d7530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d7530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d7530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:08:22.496551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f81f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f81f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f81f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:10:42.488976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5428270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5428270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5428270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:13:03.269729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5439210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5439210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5439210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:15:22.756567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f52d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f52d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f52d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:17:42.628073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545a5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545a5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545a5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:20:02.619743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54cc1b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cc1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cc1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:22:22.409527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a4570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a4570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a4570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:24:42.409557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5435210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5435210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5435210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:27:03.217079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5432170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5432170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5432170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:29:22.379458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5481250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5481250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5481250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:31:42.388818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ac230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ac230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ac230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:34:03.506048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5477510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5477510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5477510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:36:22.648564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54871f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54871f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54871f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:38:42.495994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5445590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5445590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5445590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:41:03.609566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f1250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f1250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f1250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:43:22.949935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548f550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548f550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548f550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:45:41.793199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b6210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b6210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b6210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:48:02.671119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544f150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544f150>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544f150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:50:22.321813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f9550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f9550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f9550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:52:42.131642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54055f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54055f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54055f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:55:02.681471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5482210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5482210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5482210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-04-06 19:59:03.708488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_06042025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54115f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54115f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54115f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:01:22.598397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_06042025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 22083908, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1743962543000}
4219
2727254
4219
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/00/01/image_06042025_00_01_28_2826.jpg', '/home/pi/Desktop/images/06042025/00/11/image_06042025_00_11_06_2667.jpg', '/home/pi/Desktop/images/06042025/01/37/image_06042025_01_37_45_2713.jpg', '/home/pi/Desktop/images/06042025/01/37/image_06042025_01_37_48_2711.jpg', '/home/pi/Desktop/images/06042025/01/37/image_06042025_01_37_52_3754.jpg', '/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_11_3025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/00/01/image_06042025_00_01_28_2826.jpg
/home/pi/Desktop/images/06042025/00/11/image_06042025_00_11_06_2667.jpg
/home/pi/Desktop/images/06042025/01/37/image_06042025_01_37_45_2713.jpg
/home/pi/Desktop/images/06042025/01/37/image_06042025_01_37_48_2711.jpg
/home/pi/Desktop/images/06042025/01/37/image_06042025_01_37_52_3754.jpg
/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_11_3025.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350180370","1350180367","1350180372","1350180365","1350180374","1350180376"],"photo_ids_order":["1350180365","1350180367","1350180370","1350180372","1350180374","1350180376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0dbb58251764ca243313ccd01e22124a.jpg","text":"TemporaryFile(/tmp/multipartBody7686058844449595510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962545071,"filename":"image_06042025_01_37_45_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3e310201a7910d58828062107b06e432.jpg","text":"TemporaryFile(/tmp/multipartBody6529797183996622085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962545071,"filename":"image_06042025_00_11_06_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6a5f5cb9372ee66d5a65792f911ee567.jpg","text":"TemporaryFile(/tmp/multipartBody322425119780452545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962545071,"filename":"image_06042025_01_37_48_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/92b2aeb6721cb8279fb1ebb91e14c8f4.jpg","text":"TemporaryFile(/tmp/multipartBody53909613302644148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962545071,"filename":"image_06042025_00_01_28_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/04e801ddb9aebd879a987325f4336bc6.jpg","text":"TemporaryFile(/tmp/multipartBody7121381520886172877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962545071,"filename":"image_06042025_01_37_52_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/72e62fbc125c6f408c7062318ef5116d.jpg","text":"TemporaryFile(/tmp/multipartBody2188194631220481470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962545071,"filename":"image_06042025_02_00_11_3025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350180370","file1":"1350180367","file0":"1350180365","file4":"1350180374","file5":"1350180376","file3":"1350180372"},"map_files_photo_id_array":[{"photo_id":"1350180376","filename":"file5"},{"photo_id":"1350180370","filename":"file2"},{"photo_id":"1350180374","filename":"file4"},{"photo_id":"1350180367","filename":"file1"},{"photo_id":"1350180365","filename":"file0"},{"photo_id":"1350180372","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350180370":["hashtag1","hashtag2"]},{"1350180367":["hashtag1","hashtag2"]},{"1350180372":["hashtag1","hashtag2"]},{"1350180365":["hashtag1","hashtag2"]},{"1350180374":["hashtag1","hashtag2"]},{"1350180376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350180370, 1350180367, 1350180372, 1350180365, 1350180374, 1350180376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 149.88611721992493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:04:03.380893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_28_17283.jpg', '/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_29_1550.jpg', '/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_31_1544.jpg', '/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_33_1504.jpg', '/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_34_1464.jpg', '/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_35_1464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_28_17283.jpg
/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_29_1550.jpg
/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_31_1544.jpg
/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_33_1504.jpg
/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_34_1464.jpg
/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_35_1464.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350180430","1350180412","1350180406","1350180421","1350180399","1350180437"],"photo_ids_order":["1350180399","1350180406","1350180412","1350180421","1350180430","1350180437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f8d3b2a8c97795f301783957f7418565.jpg","text":"TemporaryFile(/tmp/multipartBody1743412098853773734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962704065,"filename":"image_06042025_02_00_34_1464.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/68be0bcf97d52181d91fea5c3f3b2898.jpg","text":"TemporaryFile(/tmp/multipartBody8239581098383805946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962704065,"filename":"image_06042025_02_00_31_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/604bdd4b2485bfc36f21cd6a5ea07304.jpg","text":"TemporaryFile(/tmp/multipartBody991913087027413339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962704065,"filename":"image_06042025_02_00_29_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/17ed5ad2bb68e663a0d01942048a12f4.jpg","text":"TemporaryFile(/tmp/multipartBody1149502992691266909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962704065,"filename":"image_06042025_02_00_33_1504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6ab545877aa666606dd90f36cf5ebda8.jpg","text":"TemporaryFile(/tmp/multipartBody6772032909496464212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962704065,"filename":"image_06042025_02_00_28_17283.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c394b832fdca24c79d6762cbf2edd794.jpg","text":"TemporaryFile(/tmp/multipartBody7608007612027220656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962704065,"filename":"image_06042025_02_00_35_1464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350180412","file1":"1350180406","file0":"1350180399","file4":"1350180430","file5":"1350180437","file3":"1350180421"},"map_files_photo_id_array":[{"photo_id":"1350180437","filename":"file5"},{"photo_id":"1350180412","filename":"file2"},{"photo_id":"1350180430","filename":"file4"},{"photo_id":"1350180406","filename":"file1"},{"photo_id":"1350180399","filename":"file0"},{"photo_id":"1350180421","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350180430":["hashtag1","hashtag2"]},{"1350180412":["hashtag1","hashtag2"]},{"1350180406":["hashtag1","hashtag2"]},{"1350180421":["hashtag1","hashtag2"]},{"1350180399":["hashtag1","hashtag2"]},{"1350180437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350180430, 1350180412, 1350180406, 1350180421, 1350180399, 1350180437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28048086166382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:04:42.585809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_38_1498.jpg', '/home/pi/Desktop/images/06042025/02/37/image_06042025_02_38_01_3677.jpg', '/home/pi/Desktop/images/06042025/04/53/image_06042025_04_53_22_2634.jpg', '/home/pi/Desktop/images/06042025/05/01/image_06042025_05_01_25_2645.jpg', '/home/pi/Desktop/images/06042025/05/13/image_06042025_05_13_18_2634.jpg', '/home/pi/Desktop/images/06042025/05/27/image_06042025_05_27_07_1515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/02/00/image_06042025_02_00_38_1498.jpg
/home/pi/Desktop/images/06042025/02/37/image_06042025_02_38_01_3677.jpg
/home/pi/Desktop/images/06042025/04/53/image_06042025_04_53_22_2634.jpg
/home/pi/Desktop/images/06042025/05/01/image_06042025_05_01_25_2645.jpg
/home/pi/Desktop/images/06042025/05/13/image_06042025_05_13_18_2634.jpg
/home/pi/Desktop/images/06042025/05/27/image_06042025_05_27_07_1515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350180451","1350180465","1350180461","1350180455","1350180475","1350180469"],"photo_ids_order":["1350180451","1350180455","1350180461","1350180465","1350180469","1350180475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/93ca76cd21ca1ec4903e17d6155381e9.jpg","text":"TemporaryFile(/tmp/multipartBody2082870709166274374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962743314,"filename":"image_06042025_02_00_38_1498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a352ad794ac7eb12a1203c130c9291e0.jpg","text":"TemporaryFile(/tmp/multipartBody3793900313819596693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962743314,"filename":"image_06042025_05_01_25_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0277ff1f9e3d406b5a6cd65787cf7eba.jpg","text":"TemporaryFile(/tmp/multipartBody5296772207195916404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962743314,"filename":"image_06042025_04_53_22_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/710009d6b5661a5954cbfb826a2582a4.jpg","text":"TemporaryFile(/tmp/multipartBody6733979268282647468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962743314,"filename":"image_06042025_02_38_01_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8f396be29fa8509098268e3a6b58e563.jpg","text":"TemporaryFile(/tmp/multipartBody4539497217307914372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962743314,"filename":"image_06042025_05_27_07_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ea6b6ae35621bddd391bb0fa721a14b8.jpg","text":"TemporaryFile(/tmp/multipartBody7939175638329282252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962743314,"filename":"image_06042025_05_13_18_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350180461","file1":"1350180455","file0":"1350180451","file4":"1350180469","file5":"1350180475","file3":"1350180465"},"map_files_photo_id_array":[{"photo_id":"1350180475","filename":"file5"},{"photo_id":"1350180461","filename":"file2"},{"photo_id":"1350180469","filename":"file4"},{"photo_id":"1350180455","filename":"file1"},{"photo_id":"1350180451","filename":"file0"},{"photo_id":"1350180465","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350180451":["hashtag1","hashtag2"]},{"1350180465":["hashtag1","hashtag2"]},{"1350180461":["hashtag1","hashtag2"]},{"1350180455":["hashtag1","hashtag2"]},{"1350180475":["hashtag1","hashtag2"]},{"1350180469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350180451, 1350180465, 1350180461, 1350180455, 1350180475, 1350180469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50627851486206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:05:42.623520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/05/28/image_06042025_05_28_53_3748.jpg', '/home/pi/Desktop/images/06042025/05/42/image_06042025_05_42_59_2691.jpg', '/home/pi/Desktop/images/06042025/05/48/image_06042025_05_48_59_2749.jpg', '/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_39_3670.jpg', '/home/pi/Desktop/images/06042025/05/58/image_06042025_05_58_01_2625.jpg', '/home/pi/Desktop/images/06042025/06/32/image_06042025_06_32_48_1699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/05/28/image_06042025_05_28_53_3748.jpg
/home/pi/Desktop/images/06042025/05/42/image_06042025_05_42_59_2691.jpg
/home/pi/Desktop/images/06042025/05/48/image_06042025_05_48_59_2749.jpg
/home/pi/Desktop/images/06042025/05/49/image_06042025_05_49_39_3670.jpg
/home/pi/Desktop/images/06042025/05/58/image_06042025_05_58_01_2625.jpg
/home/pi/Desktop/images/06042025/06/32/image_06042025_06_32_48_1699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350180535","1350180526","1350180522","1350180519","1350180530","1350180524"],"photo_ids_order":["1350180519","1350180522","1350180524","1350180526","1350180530","1350180535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cd6a01692f0ed4035761d75936838af8.jpg","text":"TemporaryFile(/tmp/multipartBody8758036033738002520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962803289,"filename":"image_06042025_06_32_48_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/29ef9f84973202a9684ace8af8421bdb.jpg","text":"TemporaryFile(/tmp/multipartBody8966709099056084692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962803289,"filename":"image_06042025_05_49_39_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/be63277c22511c75dd2a05fa663a22e9.jpg","text":"TemporaryFile(/tmp/multipartBody4192170166977873048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962803289,"filename":"image_06042025_05_42_59_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9ea72a01f9451891217067c1445c6507.jpg","text":"TemporaryFile(/tmp/multipartBody6081988662208440142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962803289,"filename":"image_06042025_05_28_53_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4206cfc2a93c7d09ce092ffc3a71fb22.jpg","text":"TemporaryFile(/tmp/multipartBody4707157668724407041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962803289,"filename":"image_06042025_05_58_01_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/15703394358de10cdc5dade08ce48698.jpg","text":"TemporaryFile(/tmp/multipartBody7220499487042085126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962803289,"filename":"image_06042025_05_48_59_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350180524","file1":"1350180522","file0":"1350180519","file4":"1350180530","file5":"1350180535","file3":"1350180526"},"map_files_photo_id_array":[{"photo_id":"1350180535","filename":"file5"},{"photo_id":"1350180524","filename":"file2"},{"photo_id":"1350180530","filename":"file4"},{"photo_id":"1350180522","filename":"file1"},{"photo_id":"1350180519","filename":"file0"},{"photo_id":"1350180526","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350180535":["hashtag1","hashtag2"]},{"1350180526":["hashtag1","hashtag2"]},{"1350180522":["hashtag1","hashtag2"]},{"1350180519":["hashtag1","hashtag2"]},{"1350180530":["hashtag1","hashtag2"]},{"1350180524":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350180535, 1350180526, 1350180522, 1350180519, 1350180530, 1350180524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39413809776306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:06:22.255453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/06/34/image_06042025_06_34_52_2676.jpg', '/home/pi/Desktop/images/06042025/06/37/image_06042025_06_37_33_2654.jpg', '/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_26_2598.jpg', '/home/pi/Desktop/images/06042025/07/28/image_06042025_07_28_01_1642.jpg', '/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_14_6702.jpg', '/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_17_1540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/06/34/image_06042025_06_34_52_2676.jpg
/home/pi/Desktop/images/06042025/06/37/image_06042025_06_37_33_2654.jpg
/home/pi/Desktop/images/06042025/07/23/image_06042025_07_23_26_2598.jpg
/home/pi/Desktop/images/06042025/07/28/image_06042025_07_28_01_1642.jpg
/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_14_6702.jpg
/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_17_1540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350180562","1350180569","1350180578","1350180557","1350180572","1350180566"],"photo_ids_order":["1350180557","1350180562","1350180566","1350180569","1350180572","1350180578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/66089cf5ccbe13d79c631107465116b3.jpg","text":"TemporaryFile(/tmp/multipartBody7732367750894645804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962842931,"filename":"image_06042025_06_37_33_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2a99fba0498c641ef850718547b1e7f4.jpg","text":"TemporaryFile(/tmp/multipartBody6122610731728663979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962842931,"filename":"image_06042025_07_28_01_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f784d5d79319ea466daa7aed938ff21b.jpg","text":"TemporaryFile(/tmp/multipartBody4739003053504540685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962842931,"filename":"image_06042025_07_29_17_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c0e02eb85e1790c71ab8260961591f01.jpg","text":"TemporaryFile(/tmp/multipartBody8428648510239279818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962842931,"filename":"image_06042025_06_34_52_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c0ae4f39bc24b5d6b47c72b96f960c7e.jpg","text":"TemporaryFile(/tmp/multipartBody6971592814416401999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962842931,"filename":"image_06042025_07_29_14_6702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ad8334d29ac4c98029add4190f564c59.jpg","text":"TemporaryFile(/tmp/multipartBody3704281587751917722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962842931,"filename":"image_06042025_07_23_26_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350180566","file1":"1350180562","file0":"1350180557","file4":"1350180572","file5":"1350180578","file3":"1350180569"},"map_files_photo_id_array":[{"photo_id":"1350180578","filename":"file5"},{"photo_id":"1350180566","filename":"file2"},{"photo_id":"1350180572","filename":"file4"},{"photo_id":"1350180562","filename":"file1"},{"photo_id":"1350180557","filename":"file0"},{"photo_id":"1350180569","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350180562":["hashtag1","hashtag2"]},{"1350180569":["hashtag1","hashtag2"]},{"1350180578":["hashtag1","hashtag2"]},{"1350180557":["hashtag1","hashtag2"]},{"1350180572":["hashtag1","hashtag2"]},{"1350180566":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350180562, 1350180569, 1350180578, 1350180557, 1350180572, 1350180566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47689485549927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:07:03.359732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_46_3620.jpg', '/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_49_2584.jpg', '/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_02_3571.jpg', '/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_25_2812.jpg', '/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_55_3730.jpg', '/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_58_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_46_3620.jpg
/home/pi/Desktop/images/06042025/07/29/image_06042025_07_29_49_2584.jpg
/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_02_3571.jpg
/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_25_2812.jpg
/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_55_3730.jpg
/home/pi/Desktop/images/06042025/07/30/image_06042025_07_30_58_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350180594","1350180597","1350180609","1350180606","1350180590","1350180602"],"photo_ids_order":["1350180590","1350180594","1350180597","1350180602","1350180606","1350180609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8e87b9b32e5519704e35a54e8f7fc3be.jpg","text":"TemporaryFile(/tmp/multipartBody8264212594455384148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962884162,"filename":"image_06042025_07_29_49_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/40f63255da0c62ffdd0207d3b48fbc03.jpg","text":"TemporaryFile(/tmp/multipartBody7486503351102414603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962884162,"filename":"image_06042025_07_30_02_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b1d818d94b1127a0492e758d5fd9f904.jpg","text":"TemporaryFile(/tmp/multipartBody3526185028479125365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962884162,"filename":"image_06042025_07_30_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/4/6/7e0536a9decb57de3d2922fc17dc5e27.jpg","text":"TemporaryFile(/tmp/multipartBody1825686876258385644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962884162,"filename":"image_06042025_07_30_55_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4770880f5935b6e0278945040c19c690.jpg","text":"TemporaryFile(/tmp/multipartBody4208545012129202280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962884162,"filename":"image_06042025_07_29_46_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/072ad7dbb5372c33405dde56ff49423a.jpg","text":"TemporaryFile(/tmp/multipartBody1207721886497764664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962884162,"filename":"image_06042025_07_30_25_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350180597","file1":"1350180594","file0":"1350180590","file4":"1350180606","file5":"1350180609","file3":"1350180602"},"map_files_photo_id_array":[{"photo_id":"1350180609","filename":"file5"},{"photo_id":"1350180597","filename":"file2"},{"photo_id":"1350180606","filename":"file4"},{"photo_id":"1350180594","filename":"file1"},{"photo_id":"1350180590","filename":"file0"},{"photo_id":"1350180602","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350180594":["hashtag1","hashtag2"]},{"1350180597":["hashtag1","hashtag2"]},{"1350180609":["hashtag1","hashtag2"]},{"1350180606":["hashtag1","hashtag2"]},{"1350180590":["hashtag1","hashtag2"]},{"1350180602":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350180594, 1350180597, 1350180609, 1350180606, 1350180590, 1350180602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7551109790802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:07:42.463719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_22_3690.jpg', '/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_28_2681.jpg', '/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_34_2567.jpg', '/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_52_2669.jpg', '/home/pi/Desktop/images/06042025/07/32/image_06042025_07_32_08_3688.jpg', '/home/pi/Desktop/images/06042025/07/32/image_06042025_07_32_46_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_22_3690.jpg
/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_28_2681.jpg
/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_34_2567.jpg
/home/pi/Desktop/images/06042025/07/31/image_06042025_07_31_52_2669.jpg
/home/pi/Desktop/images/06042025/07/32/image_06042025_07_32_08_3688.jpg
/home/pi/Desktop/images/06042025/07/32/image_06042025_07_32_46_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":["1350180616","1350180625","1350180633","1350180636","1350180623","1350180620"],"photo_ids_order":["1350180616","1350180620","1350180623","1350180625","1350180633","1350180636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/98b8286b0eafafee1eb46a2ab1518a4b.jpg","text":"TemporaryFile(/tmp/multipartBody8784328183404282504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962923128,"filename":"image_06042025_07_31_22_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/51276794b26a8967a347304153a08e2a.jpg","text":"TemporaryFile(/tmp/multipartBody1012092564934116697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962923128,"filename":"image_06042025_07_31_52_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0a20650a26ad6fa1b78f0ceb5b2f150b.jpg","text":"TemporaryFile(/tmp/multipartBody8583464899386476296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962923128,"filename":"image_06042025_07_32_08_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d1c3f0081afc9efbd5f518e7227516d3.jpg","text":"TemporaryFile(/tmp/multipartBody572858982350905897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962923128,"filename":"image_06042025_07_32_46_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8f4dcbf040e0bc7219c075fa9bdaf621.jpg","text":"TemporaryFile(/tmp/multipartBody6150678603438010841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962923128,"filename":"image_06042025_07_31_34_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/73b46b25375818a319ec3c5a84773f43.jpg","text":"TemporaryFile(/tmp/multipartBody1924427481205441982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962923128,"filename":"image_06042025_07_31_28_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350180623","file1":"1350180620","file0":"1350180616","file4":"1350180633","file5":"1350180636","file3":"1350180625"},"map_files_photo_id_array":[{"photo_id":"1350180636","filename":"file5"},{"photo_id":"1350180623","filename":"file2"},{"photo_id":"1350180633","filename":"file4"},{"photo_id":"1350180620","filename":"file1"},{"photo_id":"1350180616","filename":"file0"},{"photo_id":"1350180625","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350180616":["hashtag1","hashtag2"]},{"1350180625":["hashtag1","hashtag2"]},{"1350180633":["hashtag1","hashtag2"]},{"1350180636":["hashtag1","hashtag2"]},{"1350180623":["hashtag1","hashtag2"]},{"1350180620":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350180616, 1350180625, 1350180633, 1350180636, 1350180623, 1350180620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.03407025337219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:08:42.438249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_19_2744.jpg', '/home/pi/Desktop/images/06042025/07/37/image_06042025_07_37_39_2687.jpg', '/home/pi/Desktop/images/06042025/07/37/image_06042025_07_37_54_2745.jpg', '/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_15_2492.jpg', '/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_18_2917.jpg', '/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_22_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/33/image_06042025_07_33_19_2744.jpg
/home/pi/Desktop/images/06042025/07/37/image_06042025_07_37_39_2687.jpg
/home/pi/Desktop/images/06042025/07/37/image_06042025_07_37_54_2745.jpg
/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_15_2492.jpg
/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_18_2917.jpg
/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_22_3664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350180661","1350180664","1350180657","1350180654","1350180662","1350180650"],"photo_ids_order":["1350180650","1350180654","1350180657","1350180661","1350180662","1350180664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7b0d0c0ec886e8a85c68d8640ed0b2c2.jpg","text":"TemporaryFile(/tmp/multipartBody4915966670455157638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962983081,"filename":"image_06042025_07_39_15_2492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b70f683b467e44f1fd693175b27ce2a3.jpg","text":"TemporaryFile(/tmp/multipartBody1448489371031678064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962983081,"filename":"image_06042025_07_39_22_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/92fd50d5e3dd809bd04b377b9a6fb09f.jpg","text":"TemporaryFile(/tmp/multipartBody3871304649993566812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962983081,"filename":"image_06042025_07_37_54_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bd0ce5bc11eb2cdc641479ad9e20f01e.jpg","text":"TemporaryFile(/tmp/multipartBody8618709302720371511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962983081,"filename":"image_06042025_07_37_39_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/05fc23f9a08cfd94573996de68e92da6.jpg","text":"TemporaryFile(/tmp/multipartBody3423448238991775100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962983081,"filename":"image_06042025_07_39_18_2917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3be06781d4a4c45274bca0c97bed7048.jpg","text":"TemporaryFile(/tmp/multipartBody1209380488706821012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743962983081,"filename":"image_06042025_07_33_19_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350180657","file1":"1350180654","file0":"1350180650","file4":"1350180662","file5":"1350180664","file3":"1350180661"},"map_files_photo_id_array":[{"photo_id":"1350180664","filename":"file5"},{"photo_id":"1350180657","filename":"file2"},{"photo_id":"1350180662","filename":"file4"},{"photo_id":"1350180654","filename":"file1"},{"photo_id":"1350180650","filename":"file0"},{"photo_id":"1350180661","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350180661":["hashtag1","hashtag2"]},{"1350180664":["hashtag1","hashtag2"]},{"1350180657":["hashtag1","hashtag2"]},{"1350180654":["hashtag1","hashtag2"]},{"1350180662":["hashtag1","hashtag2"]},{"1350180650":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350180661, 1350180664, 1350180657, 1350180654, 1350180662, 1350180650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86108160018921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:09:22.589366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_33_2750.jpg', '/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_39_2705.jpg', '/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_45_2684.jpg', '/home/pi/Desktop/images/06042025/07/39/image_06042025_07_40_00_2827.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_03_2737.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_09_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_33_2750.jpg
/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_39_2705.jpg
/home/pi/Desktop/images/06042025/07/39/image_06042025_07_39_45_2684.jpg
/home/pi/Desktop/images/06042025/07/39/image_06042025_07_40_00_2827.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_03_2737.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_09_3570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350180672","1350180669","1350180671","1350180697","1350180685","1350180679"],"photo_ids_order":["1350180669","1350180671","1350180672","1350180679","1350180685","1350180697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/259ba40124f4adbb7bf0773ce048efe7.jpg","text":"TemporaryFile(/tmp/multipartBody8460468392810793980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963023266,"filename":"image_06042025_07_39_45_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/587cc8ffeef45791e2a25eae89c22483.jpg","text":"TemporaryFile(/tmp/multipartBody7566424813433730727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963023266,"filename":"image_06042025_07_39_33_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3ecade10ae6f6919d859cd162aefd46d.jpg","text":"TemporaryFile(/tmp/multipartBody551197767431936308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963023266,"filename":"image_06042025_07_39_39_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/67fbd333f7dc83af8ea99b4fbaf73722.jpg","text":"TemporaryFile(/tmp/multipartBody4242115876032883013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963023266,"filename":"image_06042025_07_40_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/4/6/941766f8cb0bdcd0e41f1279e44556cd.jpg","text":"TemporaryFile(/tmp/multipartBody3301407139348949214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963023266,"filename":"image_06042025_07_40_03_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/34a881bec0376ba678d0d1d41484f26f.jpg","text":"TemporaryFile(/tmp/multipartBody5709506427940770163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963023266,"filename":"image_06042025_07_40_00_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350180672","file1":"1350180671","file0":"1350180669","file4":"1350180685","file5":"1350180697","file3":"1350180679"},"map_files_photo_id_array":[{"photo_id":"1350180697","filename":"file5"},{"photo_id":"1350180672","filename":"file2"},{"photo_id":"1350180685","filename":"file4"},{"photo_id":"1350180671","filename":"file1"},{"photo_id":"1350180669","filename":"file0"},{"photo_id":"1350180679","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350180672":["hashtag1","hashtag2"]},{"1350180669":["hashtag1","hashtag2"]},{"1350180671":["hashtag1","hashtag2"]},{"1350180697":["hashtag1","hashtag2"]},{"1350180685":["hashtag1","hashtag2"]},{"1350180679":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350180672, 1350180669, 1350180671, 1350180697, 1350180685, 1350180679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66583561897278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:10:03.088687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_12_2624.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_21_2720.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_48_2717.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_54_3692.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_57_2652.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_41_00_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_12_2624.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_21_2720.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_48_2717.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_54_3692.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_57_2652.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_41_00_2674.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6276183128356934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:10:22.508629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_12_2624.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_21_2720.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_48_2717.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_54_3692.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_57_2652.jpg', '/home/pi/Desktop/images/06042025/07/40/image_06042025_07_41_00_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_12_2624.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_21_2720.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_48_2717.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_54_3692.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_40_57_2652.jpg
/home/pi/Desktop/images/06042025/07/40/image_06042025_07_41_00_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350180748","1350180759","1350180744","1350180755","1350180764","1350180751"],"photo_ids_order":["1350180744","1350180748","1350180751","1350180755","1350180759","1350180764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7b78472911fa429af9bb82dbb9a9b029.jpg","text":"TemporaryFile(/tmp/multipartBody811169769246095417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963083135,"filename":"image_06042025_07_40_21_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/de8d863e4bf73fdc8e74474bdaaa8a9b.jpg","text":"TemporaryFile(/tmp/multipartBody7103127537811100948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963083135,"filename":"image_06042025_07_40_57_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a2fbba04cc66594559ae83800743d5a2.jpg","text":"TemporaryFile(/tmp/multipartBody4623248733464149945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963083135,"filename":"image_06042025_07_40_12_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/427cf80a780470f325b238f03833ecb7.jpg","text":"TemporaryFile(/tmp/multipartBody1819098858237459421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963083135,"filename":"image_06042025_07_40_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/4/6/54106a26cba84ae3411c23dc50df02cf.jpg","text":"TemporaryFile(/tmp/multipartBody4017830871660034697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963083135,"filename":"image_06042025_07_41_00_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d83c5f0b72641929508d7e4b7dd515c6.jpg","text":"TemporaryFile(/tmp/multipartBody4996077123219236094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963083135,"filename":"image_06042025_07_40_48_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350180751","file1":"1350180748","file0":"1350180744","file4":"1350180759","file5":"1350180764","file3":"1350180755"},"map_files_photo_id_array":[{"photo_id":"1350180764","filename":"file5"},{"photo_id":"1350180751","filename":"file2"},{"photo_id":"1350180759","filename":"file4"},{"photo_id":"1350180748","filename":"file1"},{"photo_id":"1350180744","filename":"file0"},{"photo_id":"1350180755","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350180748":["hashtag1","hashtag2"]},{"1350180759":["hashtag1","hashtag2"]},{"1350180744":["hashtag1","hashtag2"]},{"1350180755":["hashtag1","hashtag2"]},{"1350180764":["hashtag1","hashtag2"]},{"1350180751":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350180748, 1350180759, 1350180744, 1350180755, 1350180764, 1350180751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73781085014343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:11:02.747745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_03_3719.jpg', '/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_06_2737.jpg', '/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_09_2576.jpg', '/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_24_2625.jpg', '/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_27_2802.jpg', '/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_31_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_03_3719.jpg
/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_06_2737.jpg
/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_09_2576.jpg
/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_24_2625.jpg
/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_27_2802.jpg
/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_31_3699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350180775","1350180814","1350180819","1350180813","1350180821","1350180815"],"photo_ids_order":["1350180775","1350180813","1350180814","1350180815","1350180819","1350180821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/dbe3dcb02d1a3ea0f21cfd47a4e5b4c4.jpg","text":"TemporaryFile(/tmp/multipartBody2610423510609144593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963123503,"filename":"image_06042025_07_41_03_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bb0c872c9e0cac19e7d166c94d35ecb6.jpg","text":"TemporaryFile(/tmp/multipartBody2309126710468439323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963123503,"filename":"image_06042025_07_41_09_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ca813e1628f9d88a01d67bb2a9585100.jpg","text":"TemporaryFile(/tmp/multipartBody5038761459080177194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963123503,"filename":"image_06042025_07_41_27_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c490fd486b47f1863c292d210f82bf9b.jpg","text":"TemporaryFile(/tmp/multipartBody1229376878727500323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963123503,"filename":"image_06042025_07_41_06_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/770470053b65afbb5c036e8e84fd15c1.jpg","text":"TemporaryFile(/tmp/multipartBody2283422262093623220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963123503,"filename":"image_06042025_07_41_31_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a3b9cca3a6762fb8c1868cb7d5618f9f.jpg","text":"TemporaryFile(/tmp/multipartBody1877866223961610716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963123503,"filename":"image_06042025_07_41_24_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350180814","file1":"1350180813","file0":"1350180775","file4":"1350180819","file5":"1350180821","file3":"1350180815"},"map_files_photo_id_array":[{"photo_id":"1350180821","filename":"file5"},{"photo_id":"1350180814","filename":"file2"},{"photo_id":"1350180819","filename":"file4"},{"photo_id":"1350180813","filename":"file1"},{"photo_id":"1350180775","filename":"file0"},{"photo_id":"1350180815","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350180775":["hashtag1","hashtag2"]},{"1350180814":["hashtag1","hashtag2"]},{"1350180819":["hashtag1","hashtag2"]},{"1350180813":["hashtag1","hashtag2"]},{"1350180821":["hashtag1","hashtag2"]},{"1350180815":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350180775, 1350180814, 1350180819, 1350180813, 1350180821, 1350180815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.6511116027832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:12:02.625513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_45_2582.jpg', '/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_51_2713.jpg', '/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_03_2660.jpg', '/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_15_3668.jpg', '/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_21_2642.jpg', '/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_24_3770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_45_2582.jpg
/home/pi/Desktop/images/06042025/07/41/image_06042025_07_41_51_2713.jpg
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_03_2660.jpg
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_15_3668.jpg
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_21_2642.jpg
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_24_3770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350180901","1350180904","1350180876","1350180883","1350180886","1350180871"],"photo_ids_order":["1350180871","1350180876","1350180883","1350180886","1350180901","1350180904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a8f30de943e6005f9f616f14af387d3c.jpg","text":"TemporaryFile(/tmp/multipartBody8756267064489830808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963183322,"filename":"image_06042025_07_42_21_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3a33d0913457c56e7600e233cda64799.jpg","text":"TemporaryFile(/tmp/multipartBody2722012301026504358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963183322,"filename":"image_06042025_07_42_24_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fbd4d708cc70a2c303c71a52b38fef7a.jpg","text":"TemporaryFile(/tmp/multipartBody2159601964248053896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963183322,"filename":"image_06042025_07_41_51_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b3ca9b595c84a6227877969431bae29d.jpg","text":"TemporaryFile(/tmp/multipartBody5903255441320335600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963183322,"filename":"image_06042025_07_42_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/4/6/f07da511fedd0a4320882a2ebfbf52e6.jpg","text":"TemporaryFile(/tmp/multipartBody1936327082981269801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963183322,"filename":"image_06042025_07_42_15_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/acc99f7f6d1d49b6b4ed1972be922b16.jpg","text":"TemporaryFile(/tmp/multipartBody6739899244940605148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963183322,"filename":"image_06042025_07_41_45_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350180883","file1":"1350180876","file0":"1350180871","file4":"1350180901","file5":"1350180904","file3":"1350180886"},"map_files_photo_id_array":[{"photo_id":"1350180904","filename":"file5"},{"photo_id":"1350180883","filename":"file2"},{"photo_id":"1350180901","filename":"file4"},{"photo_id":"1350180876","filename":"file1"},{"photo_id":"1350180871","filename":"file0"},{"photo_id":"1350180886","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350180901":["hashtag1","hashtag2"]},{"1350180904":["hashtag1","hashtag2"]},{"1350180876":["hashtag1","hashtag2"]},{"1350180883":["hashtag1","hashtag2"]},{"1350180886":["hashtag1","hashtag2"]},{"1350180871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350180901, 1350180904, 1350180876, 1350180883, 1350180886, 1350180871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.681315422058105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:12:41.865266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_33_3522.jpg', '/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_48_3597.jpg', '/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_54_2646.jpg', '/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_57_3712.jpg', '/home/pi/Desktop/images/06042025/07/42/image_06042025_07_43_00_2565.jpg', '/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_09_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_33_3522.jpg
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_48_3597.jpg
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_54_2646.jpg
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_42_57_3712.jpg
/home/pi/Desktop/images/06042025/07/42/image_06042025_07_43_00_2565.jpg
/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_09_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":["1350180963","1350180930","1350180933","1350180938","1350180923","1350180964"],"photo_ids_order":["1350180923","1350180930","1350180933","1350180938","1350180963","1350180964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/292314b0d1cfad1c45f2871537c4d1fc.jpg","text":"TemporaryFile(/tmp/multipartBody8130828893209497430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963222509,"filename":"image_06042025_07_43_00_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bace49637dc0f001528ee7b027831cbc.jpg","text":"TemporaryFile(/tmp/multipartBody5368388158006203799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963222509,"filename":"image_06042025_07_42_48_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2ae39a99fc2d6f9e6e175f5f0522ccd0.jpg","text":"TemporaryFile(/tmp/multipartBody7648038533818638469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963222509,"filename":"image_06042025_07_42_54_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a13aad207ee77bde9ceb764457625143.jpg","text":"TemporaryFile(/tmp/multipartBody2132115587597574932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963222509,"filename":"image_06042025_07_42_57_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0b13fc4ab74963ec03d97773933a7eeb.jpg","text":"TemporaryFile(/tmp/multipartBody2962794191132286528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963222509,"filename":"image_06042025_07_42_33_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a266bf5880c321371a1b46a3869a2db0.jpg","text":"TemporaryFile(/tmp/multipartBody1010743021632822532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963222509,"filename":"image_06042025_07_43_09_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350180933","file1":"1350180930","file0":"1350180923","file4":"1350180963","file5":"1350180964","file3":"1350180938"},"map_files_photo_id_array":[{"photo_id":"1350180964","filename":"file5"},{"photo_id":"1350180933","filename":"file2"},{"photo_id":"1350180963","filename":"file4"},{"photo_id":"1350180930","filename":"file1"},{"photo_id":"1350180923","filename":"file0"},{"photo_id":"1350180938","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350180963":["hashtag1","hashtag2"]},{"1350180930":["hashtag1","hashtag2"]},{"1350180933":["hashtag1","hashtag2"]},{"1350180938":["hashtag1","hashtag2"]},{"1350180923":["hashtag1","hashtag2"]},{"1350180964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350180963, 1350180930, 1350180933, 1350180938, 1350180923, 1350180964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.86664843559265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:13:42.185777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_11_2598.jpg', '/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_33_2654.jpg', '/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_35_2599.jpg', '/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_53_2679.jpg', '/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_36_2711.jpg', '/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_42_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_11_2598.jpg
/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_33_2654.jpg
/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_35_2599.jpg
/home/pi/Desktop/images/06042025/07/43/image_06042025_07_43_53_2679.jpg
/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_36_2711.jpg
/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_42_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350181036","1350181050","1350181044","1350181032","1350181040","1350181048"],"photo_ids_order":["1350181032","1350181036","1350181040","1350181044","1350181048","1350181050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/611baf95f4f3ed6c0165aee15f08eb9b.jpg","text":"TemporaryFile(/tmp/multipartBody7976921522107729272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963282843,"filename":"image_06042025_07_43_33_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c9fdc8623b32c7d76abd8e1300852712.jpg","text":"TemporaryFile(/tmp/multipartBody2182919648037841162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963282843,"filename":"image_06042025_07_44_42_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/20873ce5761dd77d3341872cda036593.jpg","text":"TemporaryFile(/tmp/multipartBody7552021350910382790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963282843,"filename":"image_06042025_07_43_53_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/587cab5e1cbf5f73355857ba4fc4bd20.jpg","text":"TemporaryFile(/tmp/multipartBody7512081594880485531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963282843,"filename":"image_06042025_07_43_11_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/391fd76adc09a4f4e4281f48228b20ab.jpg","text":"TemporaryFile(/tmp/multipartBody2187854713217657098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963282843,"filename":"image_06042025_07_43_35_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4b653028b5c1d8bb63b5c224d21dfe7a.jpg","text":"TemporaryFile(/tmp/multipartBody8369345741723326709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963282843,"filename":"image_06042025_07_44_36_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350181040","file1":"1350181036","file0":"1350181032","file4":"1350181048","file5":"1350181050","file3":"1350181044"},"map_files_photo_id_array":[{"photo_id":"1350181050","filename":"file5"},{"photo_id":"1350181040","filename":"file2"},{"photo_id":"1350181048","filename":"file4"},{"photo_id":"1350181036","filename":"file1"},{"photo_id":"1350181032","filename":"file0"},{"photo_id":"1350181044","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350181036":["hashtag1","hashtag2"]},{"1350181050":["hashtag1","hashtag2"]},{"1350181044":["hashtag1","hashtag2"]},{"1350181032":["hashtag1","hashtag2"]},{"1350181040":["hashtag1","hashtag2"]},{"1350181048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350181036, 1350181050, 1350181044, 1350181032, 1350181040, 1350181048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1035053730011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:14:21.946107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_51_3563.jpg', '/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_54_2856.jpg', '/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_59_2617.jpg', '/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_33_2498.jpg', '/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_41_2567.jpg', '/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_44_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_51_3563.jpg
/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_54_2856.jpg
/home/pi/Desktop/images/06042025/07/44/image_06042025_07_44_59_2617.jpg
/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_33_2498.jpg
/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_41_2567.jpg
/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_44_2769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350181056","1350181064","1350181052","1350181069","1350181060","1350181054"],"photo_ids_order":["1350181052","1350181054","1350181056","1350181060","1350181064","1350181069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b767f34465f8f46bf71d1b189dce80ee.jpg","text":"TemporaryFile(/tmp/multipartBody2273448810224101608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963322669,"filename":"image_06042025_07_44_59_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2f3e030fa3086532908a40b410bfb1c8.jpg","text":"TemporaryFile(/tmp/multipartBody7332221313974012664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963322669,"filename":"image_06042025_07_45_41_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cb3081bcab126ec184fa9f317361d5c0.jpg","text":"TemporaryFile(/tmp/multipartBody8056502548403278390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963322669,"filename":"image_06042025_07_44_51_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8b8302865bad73ca3aa61f2bf6a0481a.jpg","text":"TemporaryFile(/tmp/multipartBody5903223145152974176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963322669,"filename":"image_06042025_07_45_44_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/261c57eddb9fc2216c22319407d888c7.jpg","text":"TemporaryFile(/tmp/multipartBody5109374470353291719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963322669,"filename":"image_06042025_07_45_33_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9a5b7effda15b802dec18105f6d44e0f.jpg","text":"TemporaryFile(/tmp/multipartBody1248895653629337186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963322669,"filename":"image_06042025_07_44_54_2856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350181056","file1":"1350181054","file0":"1350181052","file4":"1350181064","file5":"1350181069","file3":"1350181060"},"map_files_photo_id_array":[{"photo_id":"1350181069","filename":"file5"},{"photo_id":"1350181056","filename":"file2"},{"photo_id":"1350181064","filename":"file4"},{"photo_id":"1350181054","filename":"file1"},{"photo_id":"1350181052","filename":"file0"},{"photo_id":"1350181060","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350181056":["hashtag1","hashtag2"]},{"1350181064":["hashtag1","hashtag2"]},{"1350181052":["hashtag1","hashtag2"]},{"1350181069":["hashtag1","hashtag2"]},{"1350181060":["hashtag1","hashtag2"]},{"1350181054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350181056, 1350181064, 1350181052, 1350181069, 1350181060, 1350181054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.666367053985596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:15:03.172295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_50_2588.jpg', '/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_54_3602.jpg', '/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_15_3570.jpg', '/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_29_2707.jpg', '/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_38_2571.jpg', '/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_51_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_50_2588.jpg
/home/pi/Desktop/images/06042025/07/45/image_06042025_07_45_54_3602.jpg
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_15_3570.jpg
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_29_2707.jpg
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_38_2571.jpg
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_51_3659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350181077","1350181082","1350181079","1350181087","1350181090","1350181084"],"photo_ids_order":["1350181077","1350181079","1350181082","1350181084","1350181087","1350181090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b92e9d5680a2de9e741e3a08d2016b90.jpg","text":"TemporaryFile(/tmp/multipartBody7550174041647079353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963363928,"filename":"image_06042025_07_45_50_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/31a1d7bbefea366ab09865be6c109ae0.jpg","text":"TemporaryFile(/tmp/multipartBody1805814305568168163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963363928,"filename":"image_06042025_07_46_15_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/084d547a5d66af91da48476ce07afc17.jpg","text":"TemporaryFile(/tmp/multipartBody4121312573710047579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963363928,"filename":"image_06042025_07_45_54_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d307a7ffde457e82f251edac72eb0f3f.jpg","text":"TemporaryFile(/tmp/multipartBody5747531816845689082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963363928,"filename":"image_06042025_07_46_38_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6d56165725b76c2f6c7af95f554387a8.jpg","text":"TemporaryFile(/tmp/multipartBody9083614450824873891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963363928,"filename":"image_06042025_07_46_51_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ea0ef46cdccf65313fee97d11865319a.jpg","text":"TemporaryFile(/tmp/multipartBody4262402327366508058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963363928,"filename":"image_06042025_07_46_29_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350181082","file1":"1350181079","file0":"1350181077","file4":"1350181087","file5":"1350181090","file3":"1350181084"},"map_files_photo_id_array":[{"photo_id":"1350181090","filename":"file5"},{"photo_id":"1350181082","filename":"file2"},{"photo_id":"1350181087","filename":"file4"},{"photo_id":"1350181079","filename":"file1"},{"photo_id":"1350181077","filename":"file0"},{"photo_id":"1350181084","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350181077":["hashtag1","hashtag2"]},{"1350181082":["hashtag1","hashtag2"]},{"1350181079":["hashtag1","hashtag2"]},{"1350181087":["hashtag1","hashtag2"]},{"1350181090":["hashtag1","hashtag2"]},{"1350181084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350181077, 1350181082, 1350181079, 1350181087, 1350181090, 1350181084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39349889755249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:15:42.379702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_53_2518.jpg', '/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_12_3097.jpg', '/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_18_3559.jpg', '/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_21_2602.jpg', '/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_23_2689.jpg', '/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_32_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/46/image_06042025_07_46_53_2518.jpg
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_12_3097.jpg
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_18_3559.jpg
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_21_2602.jpg
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_23_2689.jpg
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_32_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350181134","1350181145","1350181156","1350181141","1350181150","1350181153"],"photo_ids_order":["1350181134","1350181141","1350181145","1350181150","1350181153","1350181156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a8c9c19070c8af26df8d36574600a01e.jpg","text":"TemporaryFile(/tmp/multipartBody6323701347490586343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963403033,"filename":"image_06042025_07_46_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/4/6/fc4aa58ef490311a8299f816bc0fbb4c.jpg","text":"TemporaryFile(/tmp/multipartBody228925589796302711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963403033,"filename":"image_06042025_07_47_18_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/31b3b4b8fcba564c68837d21c432680c.jpg","text":"TemporaryFile(/tmp/multipartBody1065861139907056855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963403033,"filename":"image_06042025_07_47_32_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f4966ed84a711b2c5a07bc2ea8c3a34d.jpg","text":"TemporaryFile(/tmp/multipartBody1935008650499526333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963403033,"filename":"image_06042025_07_47_12_3097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/85f5c6e59d2e7f7f29b4a134ecaeee80.jpg","text":"TemporaryFile(/tmp/multipartBody994633312973672279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963403033,"filename":"image_06042025_07_47_21_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f3ab10636f919838b8228adc6a0f36bd.jpg","text":"TemporaryFile(/tmp/multipartBody2326283869396121658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963403033,"filename":"image_06042025_07_47_23_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350181145","file1":"1350181141","file0":"1350181134","file4":"1350181153","file5":"1350181156","file3":"1350181150"},"map_files_photo_id_array":[{"photo_id":"1350181156","filename":"file5"},{"photo_id":"1350181145","filename":"file2"},{"photo_id":"1350181153","filename":"file4"},{"photo_id":"1350181141","filename":"file1"},{"photo_id":"1350181134","filename":"file0"},{"photo_id":"1350181150","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350181134":["hashtag1","hashtag2"]},{"1350181145":["hashtag1","hashtag2"]},{"1350181156":["hashtag1","hashtag2"]},{"1350181141":["hashtag1","hashtag2"]},{"1350181150":["hashtag1","hashtag2"]},{"1350181153":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350181134, 1350181145, 1350181156, 1350181141, 1350181150, 1350181153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.184152364730835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:16:22.750594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_36_3712.jpg', '/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_41_2704.jpg', '/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_45_3545.jpg', '/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_50_2536.jpg', '/home/pi/Desktop/images/06042025/07/48/image_06042025_07_48_26_2518.jpg', '/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_15_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_36_3712.jpg
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_41_2704.jpg
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_45_3545.jpg
/home/pi/Desktop/images/06042025/07/47/image_06042025_07_47_50_2536.jpg
/home/pi/Desktop/images/06042025/07/48/image_06042025_07_48_26_2518.jpg
/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_15_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350181215","1350181230","1350181247","1350181220","1350181217","1350181243"],"photo_ids_order":["1350181215","1350181217","1350181220","1350181230","1350181243","1350181247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4b20427209c431c4f0ad23e5d286a52d.jpg","text":"TemporaryFile(/tmp/multipartBody5265088838793649773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963443415,"filename":"image_06042025_07_47_36_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e4b6ea620f5b772a314fc6fcedef72f7.jpg","text":"TemporaryFile(/tmp/multipartBody93078697606096270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963443415,"filename":"image_06042025_07_47_50_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f8278260e4a734128f6e7810badf95e0.jpg","text":"TemporaryFile(/tmp/multipartBody1053755059725633018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963443415,"filename":"image_06042025_07_49_15_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/859fa9a4406329f51db613fecaf556d4.jpg","text":"TemporaryFile(/tmp/multipartBody239369621348089121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963443415,"filename":"image_06042025_07_47_45_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d35d690b3659a315032b57ba28b1f78c.jpg","text":"TemporaryFile(/tmp/multipartBody3218780256247636970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963443415,"filename":"image_06042025_07_47_41_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/376573b461fb942f23bf2bc2fc127a3f.jpg","text":"TemporaryFile(/tmp/multipartBody6968132106626552323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963443415,"filename":"image_06042025_07_48_26_2518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350181220","file1":"1350181217","file0":"1350181215","file4":"1350181243","file5":"1350181247","file3":"1350181230"},"map_files_photo_id_array":[{"photo_id":"1350181247","filename":"file5"},{"photo_id":"1350181220","filename":"file2"},{"photo_id":"1350181243","filename":"file4"},{"photo_id":"1350181217","filename":"file1"},{"photo_id":"1350181215","filename":"file0"},{"photo_id":"1350181230","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350181215":["hashtag1","hashtag2"]},{"1350181230":["hashtag1","hashtag2"]},{"1350181247":["hashtag1","hashtag2"]},{"1350181220":["hashtag1","hashtag2"]},{"1350181217":["hashtag1","hashtag2"]},{"1350181243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350181215, 1350181230, 1350181247, 1350181220, 1350181217, 1350181243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90477752685547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:17:02.853952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_20_2590.jpg', '/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_33_3750.jpg', '/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_47_2575.jpg', '/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_56_2700.jpg', '/home/pi/Desktop/images/06042025/07/49/image_06042025_07_50_00_3619.jpg', '/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_20_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_20_2590.jpg
/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_33_3750.jpg
/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_47_2575.jpg
/home/pi/Desktop/images/06042025/07/49/image_06042025_07_49_56_2700.jpg
/home/pi/Desktop/images/06042025/07/49/image_06042025_07_50_00_3619.jpg
/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_20_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350181260","1350181263","1350181257","1350181261","1350181264","1350181258"],"photo_ids_order":["1350181257","1350181258","1350181260","1350181261","1350181263","1350181264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/879b613ba40ea59d81213aa0a9974d55.jpg","text":"TemporaryFile(/tmp/multipartBody6096193110526490912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963483622,"filename":"image_06042025_07_49_47_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b47e07416ec11b2f8d4c706b00fc1a3c.jpg","text":"TemporaryFile(/tmp/multipartBody3232988680984054585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963483622,"filename":"image_06042025_07_50_00_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/00e4161d1a0c0105f2af7117d236d080.jpg","text":"TemporaryFile(/tmp/multipartBody839523586415922837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963483622,"filename":"image_06042025_07_49_20_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2f8201816209bfabfc352aa400be53a8.jpg","text":"TemporaryFile(/tmp/multipartBody4678232203755066350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963483622,"filename":"image_06042025_07_49_56_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/da2377afca7c44d34e1ab822df4bac53.jpg","text":"TemporaryFile(/tmp/multipartBody2551060482216054162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963483622,"filename":"image_06042025_07_50_20_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d5ba0ceff0d366c13cc30c4415ac334d.jpg","text":"TemporaryFile(/tmp/multipartBody5411118543530863660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963483622,"filename":"image_06042025_07_49_33_3750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350181260","file1":"1350181258","file0":"1350181257","file4":"1350181263","file5":"1350181264","file3":"1350181261"},"map_files_photo_id_array":[{"photo_id":"1350181264","filename":"file5"},{"photo_id":"1350181260","filename":"file2"},{"photo_id":"1350181263","filename":"file4"},{"photo_id":"1350181258","filename":"file1"},{"photo_id":"1350181257","filename":"file0"},{"photo_id":"1350181261","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350181260":["hashtag1","hashtag2"]},{"1350181263":["hashtag1","hashtag2"]},{"1350181257":["hashtag1","hashtag2"]},{"1350181261":["hashtag1","hashtag2"]},{"1350181264":["hashtag1","hashtag2"]},{"1350181258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350181260, 1350181263, 1350181257, 1350181261, 1350181264, 1350181258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.415708780288696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:17:42.123472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_23_3597.jpg', '/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_38_3649.jpg', '/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_50_2576.jpg', '/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_20_2572.jpg', '/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_26_2562.jpg', '/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_44_2497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_23_3597.jpg
/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_38_3649.jpg
/home/pi/Desktop/images/06042025/07/50/image_06042025_07_50_50_2576.jpg
/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_20_2572.jpg
/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_26_2562.jpg
/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_44_2497.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350181284","1350181293","1350181295","1350181277","1350181288","1350181297"],"photo_ids_order":["1350181277","1350181284","1350181288","1350181293","1350181295","1350181297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4ea25120760fde582cb651ec69904e55.jpg","text":"TemporaryFile(/tmp/multipartBody7787992956586295193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963522779,"filename":"image_06042025_07_50_38_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bf73e313cde4fa737447fed899d813b9.jpg","text":"TemporaryFile(/tmp/multipartBody7201806418632461832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963522779,"filename":"image_06042025_07_51_20_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7ae36b5538c082acff6f0350117bc386.jpg","text":"TemporaryFile(/tmp/multipartBody5864502524303619256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963522779,"filename":"image_06042025_07_51_26_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0d947faf0ef3615c6dc949ef42c70600.jpg","text":"TemporaryFile(/tmp/multipartBody359921707884848954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963522779,"filename":"image_06042025_07_50_23_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4c022c3cdc29630ac6721a39276353af.jpg","text":"TemporaryFile(/tmp/multipartBody3241214125205082539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963522779,"filename":"image_06042025_07_50_50_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2e848afc243e3d9df52b083cdbad1eeb.jpg","text":"TemporaryFile(/tmp/multipartBody5842443748106603158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963522779,"filename":"image_06042025_07_51_44_2497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350181288","file1":"1350181284","file0":"1350181277","file4":"1350181295","file5":"1350181297","file3":"1350181293"},"map_files_photo_id_array":[{"photo_id":"1350181297","filename":"file5"},{"photo_id":"1350181288","filename":"file2"},{"photo_id":"1350181295","filename":"file4"},{"photo_id":"1350181284","filename":"file1"},{"photo_id":"1350181277","filename":"file0"},{"photo_id":"1350181293","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350181284":["hashtag1","hashtag2"]},{"1350181293":["hashtag1","hashtag2"]},{"1350181295":["hashtag1","hashtag2"]},{"1350181277":["hashtag1","hashtag2"]},{"1350181288":["hashtag1","hashtag2"]},{"1350181297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350181284, 1350181293, 1350181295, 1350181277, 1350181288, 1350181297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72177791595459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:18:22.166020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_48_3665.jpg', '/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_53_2807.jpg', '/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_59_2814.jpg', '/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_05_2626.jpg', '/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_08_3593.jpg', '/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_29_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_48_3665.jpg
/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_53_2807.jpg
/home/pi/Desktop/images/06042025/07/51/image_06042025_07_51_59_2814.jpg
/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_05_2626.jpg
/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_08_3593.jpg
/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_29_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350181380","1350181365","1350181455","1350181469","1350181430","1350181378"],"photo_ids_order":["1350181365","1350181378","1350181380","1350181430","1350181455","1350181469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ad9d34e4885d11a5307bf28aae40dd68.jpg","text":"TemporaryFile(/tmp/multipartBody2183672759574026786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963562822,"filename":"image_06042025_07_51_59_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1d96e564f6a30d6ed0b0825cdb4a3ec8.jpg","text":"TemporaryFile(/tmp/multipartBody3578956825642544182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963562822,"filename":"image_06042025_07_51_48_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8b80710bee2000359ba65bfccf53108a.jpg","text":"TemporaryFile(/tmp/multipartBody7236345439265379152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963562822,"filename":"image_06042025_07_52_08_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0670788c5e5ae819e3780ecdee6d2420.jpg","text":"TemporaryFile(/tmp/multipartBody8331783343996687181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963562822,"filename":"image_06042025_07_52_29_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c6b9c240001c274264ecd19bc74fbc9c.jpg","text":"TemporaryFile(/tmp/multipartBody8572457257771127260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963562822,"filename":"image_06042025_07_52_05_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fe6359500adfe6ca0e721c131db10bea.jpg","text":"TemporaryFile(/tmp/multipartBody1399874472238166429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963562822,"filename":"image_06042025_07_51_53_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350181380","file1":"1350181378","file0":"1350181365","file4":"1350181455","file5":"1350181469","file3":"1350181430"},"map_files_photo_id_array":[{"photo_id":"1350181469","filename":"file5"},{"photo_id":"1350181380","filename":"file2"},{"photo_id":"1350181455","filename":"file4"},{"photo_id":"1350181378","filename":"file1"},{"photo_id":"1350181365","filename":"file0"},{"photo_id":"1350181430","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350181380":["hashtag1","hashtag2"]},{"1350181365":["hashtag1","hashtag2"]},{"1350181455":["hashtag1","hashtag2"]},{"1350181469":["hashtag1","hashtag2"]},{"1350181430":["hashtag1","hashtag2"]},{"1350181378":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350181380, 1350181365, 1350181455, 1350181469, 1350181430, 1350181378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78064274787903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:19:03.317599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_31_2623.jpg', '/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_41_2757.jpg', '/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_44_3667.jpg', '/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_50_2740.jpg', '/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_59_2654.jpg', '/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_02_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_31_2623.jpg
/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_41_2757.jpg
/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_44_3667.jpg
/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_50_2740.jpg
/home/pi/Desktop/images/06042025/07/52/image_06042025_07_52_59_2654.jpg
/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_02_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350181569","1350181572","1350181566","1350181564","1350181561","1350181522"],"photo_ids_order":["1350181522","1350181561","1350181564","1350181566","1350181569","1350181572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/37d00b9e378327f03b7edf7300cfc44f.jpg","text":"TemporaryFile(/tmp/multipartBody7896508947788187393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963604248,"filename":"image_06042025_07_52_59_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cabdedccfc53d8eafb8bcd5979893775.jpg","text":"TemporaryFile(/tmp/multipartBody1691220289905049693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963604248,"filename":"image_06042025_07_53_02_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ce0d1efac08939a9b1b75d1847d479ba.jpg","text":"TemporaryFile(/tmp/multipartBody2539156855448427131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963604248,"filename":"image_06042025_07_52_50_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/66a44a56ec36e1e216985e567b4759ba.jpg","text":"TemporaryFile(/tmp/multipartBody3262096140471638015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963604248,"filename":"image_06042025_07_52_44_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fe49ef72ce97f2850237388156cfe9ea.jpg","text":"TemporaryFile(/tmp/multipartBody3971975027329579565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963604248,"filename":"image_06042025_07_52_41_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9205e10a21b3efe4c20408f6d8a41cfb.jpg","text":"TemporaryFile(/tmp/multipartBody1653207834859889159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963604248,"filename":"image_06042025_07_52_31_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350181564","file1":"1350181561","file0":"1350181522","file4":"1350181569","file5":"1350181572","file3":"1350181566"},"map_files_photo_id_array":[{"photo_id":"1350181572","filename":"file5"},{"photo_id":"1350181564","filename":"file2"},{"photo_id":"1350181569","filename":"file4"},{"photo_id":"1350181561","filename":"file1"},{"photo_id":"1350181522","filename":"file0"},{"photo_id":"1350181566","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350181569":["hashtag1","hashtag2"]},{"1350181572":["hashtag1","hashtag2"]},{"1350181566":["hashtag1","hashtag2"]},{"1350181564":["hashtag1","hashtag2"]},{"1350181561":["hashtag1","hashtag2"]},{"1350181522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350181569, 1350181572, 1350181566, 1350181564, 1350181561, 1350181522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02384090423584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:19:42.290755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_14_3863.jpg', '/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_20_2745.jpg', '/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_50_2638.jpg', '/home/pi/Desktop/images/06042025/07/54/image_06042025_07_54_08_2770.jpg', '/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_08_2568.jpg', '/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_14_3790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_14_3863.jpg
/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_20_2745.jpg
/home/pi/Desktop/images/06042025/07/53/image_06042025_07_53_50_2638.jpg
/home/pi/Desktop/images/06042025/07/54/image_06042025_07_54_08_2770.jpg
/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_08_2568.jpg
/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_14_3790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350181624","1350181674","1350181676","1350181678","1350181666","1350181669"],"photo_ids_order":["1350181624","1350181666","1350181669","1350181674","1350181676","1350181678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e1f84776c00a3539403a66b67e3e8707.jpg","text":"TemporaryFile(/tmp/multipartBody9017790210225505568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963642997,"filename":"image_06042025_07_53_14_3863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/808bec425b5113700f9acf0ccab3f2b9.jpg","text":"TemporaryFile(/tmp/multipartBody312629883811418308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963642997,"filename":"image_06042025_07_54_08_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7d6906a9c4966c2fcda5ab87fd0fa47f.jpg","text":"TemporaryFile(/tmp/multipartBody2542918527275566733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963642997,"filename":"image_06042025_07_55_08_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c1c3f254c3f69d2f6f7f2bf2d40cf7da.jpg","text":"TemporaryFile(/tmp/multipartBody796058585990388813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963642997,"filename":"image_06042025_07_55_14_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8f57c0cefe2741d4be39e36622e4bd4e.jpg","text":"TemporaryFile(/tmp/multipartBody7344974557080889841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963642997,"filename":"image_06042025_07_53_20_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/067741785f16d5183a6afc241e0ac583.jpg","text":"TemporaryFile(/tmp/multipartBody3665003590222564867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963642997,"filename":"image_06042025_07_53_50_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350181669","file1":"1350181666","file0":"1350181624","file4":"1350181676","file5":"1350181678","file3":"1350181674"},"map_files_photo_id_array":[{"photo_id":"1350181678","filename":"file5"},{"photo_id":"1350181669","filename":"file2"},{"photo_id":"1350181676","filename":"file4"},{"photo_id":"1350181666","filename":"file1"},{"photo_id":"1350181624","filename":"file0"},{"photo_id":"1350181674","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350181624":["hashtag1","hashtag2"]},{"1350181674":["hashtag1","hashtag2"]},{"1350181676":["hashtag1","hashtag2"]},{"1350181678":["hashtag1","hashtag2"]},{"1350181666":["hashtag1","hashtag2"]},{"1350181669":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350181624, 1350181674, 1350181676, 1350181678, 1350181666, 1350181669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.658491134643555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:20:22.038662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_17_2745.jpg', '/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_05_2693.jpg', '/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_07_2645.jpg', '/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_16_4548.jpg', '/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_17_1707.jpg', '/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_32_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/55/image_06042025_07_55_17_2745.jpg
/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_05_2693.jpg
/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_07_2645.jpg
/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_16_4548.jpg
/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_17_1707.jpg
/home/pi/Desktop/images/06042025/07/56/image_06042025_07_56_32_2761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350181860","1350181835","1350181795","1350181798","1350181864","1350181846"],"photo_ids_order":["1350181795","1350181798","1350181835","1350181846","1350181860","1350181864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/680f419c1f0691b181bfda9d0b6dc47c.jpg","text":"TemporaryFile(/tmp/multipartBody3382731544739959576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963682706,"filename":"image_06042025_07_56_17_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f4baf39f3d8596a0e05f3f68a66d69e4.jpg","text":"TemporaryFile(/tmp/multipartBody9000518040332932472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963682706,"filename":"image_06042025_07_56_07_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c86b1fd737a4aa7c8c53ff07c8c4c6d9.jpg","text":"TemporaryFile(/tmp/multipartBody4176190756970318261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963682706,"filename":"image_06042025_07_55_17_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cd4b4deccf663ec7052f487531d1b20a.jpg","text":"TemporaryFile(/tmp/multipartBody2442671967261756427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963682706,"filename":"image_06042025_07_56_05_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1d4f486ca588329b2dd1f068a7b5a7f2.jpg","text":"TemporaryFile(/tmp/multipartBody6930152908867449322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963682706,"filename":"image_06042025_07_56_32_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0f7128a5647fd50e5cdfe1bea53c1b2a.jpg","text":"TemporaryFile(/tmp/multipartBody7733699445764240212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963682706,"filename":"image_06042025_07_56_16_4548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350181835","file1":"1350181798","file0":"1350181795","file4":"1350181860","file5":"1350181864","file3":"1350181846"},"map_files_photo_id_array":[{"photo_id":"1350181864","filename":"file5"},{"photo_id":"1350181835","filename":"file2"},{"photo_id":"1350181860","filename":"file4"},{"photo_id":"1350181798","filename":"file1"},{"photo_id":"1350181795","filename":"file0"},{"photo_id":"1350181846","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350181860":["hashtag1","hashtag2"]},{"1350181835":["hashtag1","hashtag2"]},{"1350181795":["hashtag1","hashtag2"]},{"1350181798":["hashtag1","hashtag2"]},{"1350181864":["hashtag1","hashtag2"]},{"1350181846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350181860, 1350181835, 1350181795, 1350181798, 1350181864, 1350181846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31018567085266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:21:03.137201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_16_2531.jpg', '/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_19_2791.jpg', '/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_23_3679.jpg', '/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_31_2892.jpg', '/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_50_2883.jpg', '/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_59_1548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_16_2531.jpg
/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_19_2791.jpg
/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_23_3679.jpg
/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_31_2892.jpg
/home/pi/Desktop/images/06042025/07/57/image_06042025_07_57_50_2883.jpg
/home/pi/Desktop/images/06042025/07/58/image_06042025_07_58_59_1548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350181932","1350182004","1350181940","1350181937","1350181984","1350182002"],"photo_ids_order":["1350181932","1350181937","1350181940","1350181984","1350182002","1350182004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1c14e33ae8fedca8d4510901b37f3d0e.jpg","text":"TemporaryFile(/tmp/multipartBody766817214273725687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963723934,"filename":"image_06042025_07_57_16_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/dd0a7fef6c402675ec34cb87d7116110.jpg","text":"TemporaryFile(/tmp/multipartBody2349022367660306566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963723934,"filename":"image_06042025_07_58_59_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9688ebcdd6a3a0811fb941a99d30cc6c.jpg","text":"TemporaryFile(/tmp/multipartBody8883766224850601736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963723934,"filename":"image_06042025_07_57_23_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d15a60df6beaf82ffda208edb3a6d307.jpg","text":"TemporaryFile(/tmp/multipartBody3932263976373880658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963723934,"filename":"image_06042025_07_57_19_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b28cb5f16177a2ab919535bc387e21f0.jpg","text":"TemporaryFile(/tmp/multipartBody159226156844478187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963723934,"filename":"image_06042025_07_57_31_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/92fddc6fa9563b8ed7503e48ec55f749.jpg","text":"TemporaryFile(/tmp/multipartBody2638205371414529011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963723934,"filename":"image_06042025_07_57_50_2883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350181940","file1":"1350181937","file0":"1350181932","file4":"1350182002","file5":"1350182004","file3":"1350181984"},"map_files_photo_id_array":[{"photo_id":"1350182004","filename":"file5"},{"photo_id":"1350181940","filename":"file2"},{"photo_id":"1350182002","filename":"file4"},{"photo_id":"1350181937","filename":"file1"},{"photo_id":"1350181932","filename":"file0"},{"photo_id":"1350181984","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350181932":["hashtag1","hashtag2"]},{"1350182004":["hashtag1","hashtag2"]},{"1350181940":["hashtag1","hashtag2"]},{"1350181937":["hashtag1","hashtag2"]},{"1350181984":["hashtag1","hashtag2"]},{"1350182002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350181932, 1350182004, 1350181940, 1350181937, 1350181984, 1350182002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60942459106445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:21:42.434901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/07/59/image_06042025_07_59_02_1795.jpg', '/home/pi/Desktop/images/06042025/07/59/image_06042025_07_59_09_6713.jpg', '/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_25_3585.jpg', '/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_55_2663.jpg', '/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_58_2597.jpg', '/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_02_3759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/07/59/image_06042025_07_59_02_1795.jpg
/home/pi/Desktop/images/06042025/07/59/image_06042025_07_59_09_6713.jpg
/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_25_3585.jpg
/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_55_2663.jpg
/home/pi/Desktop/images/06042025/08/00/image_06042025_08_00_58_2597.jpg
/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_02_3759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350182111","1350182108","1350182098","1350182083","1350182104","1350182107"],"photo_ids_order":["1350182083","1350182098","1350182104","1350182107","1350182108","1350182111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/87cf361ee75180e989bd6a4d7ab1722f.jpg","text":"TemporaryFile(/tmp/multipartBody3925502243164018419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963763156,"filename":"image_06042025_08_01_02_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c219ecd925833b9b9bfb75151891c31b.jpg","text":"TemporaryFile(/tmp/multipartBody4262595818845879089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963763156,"filename":"image_06042025_08_00_58_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8b12efb048a9e78d41a3856496d1225a.jpg","text":"TemporaryFile(/tmp/multipartBody6779873382320251509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963763156,"filename":"image_06042025_07_59_09_6713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/69a2cb1c435c55e25b17be0c73671a08.jpg","text":"TemporaryFile(/tmp/multipartBody7129944017971775536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963763156,"filename":"image_06042025_07_59_02_1795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/14dc56b4705dfb1f4a406c1daaf1bedf.jpg","text":"TemporaryFile(/tmp/multipartBody6113513973832982221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963763156,"filename":"image_06042025_08_00_25_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/851eb93c61537482e6a937efba735f3e.jpg","text":"TemporaryFile(/tmp/multipartBody6688152912926842068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963763156,"filename":"image_06042025_08_00_55_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350182104","file1":"1350182098","file0":"1350182083","file4":"1350182108","file5":"1350182111","file3":"1350182107"},"map_files_photo_id_array":[{"photo_id":"1350182111","filename":"file5"},{"photo_id":"1350182104","filename":"file2"},{"photo_id":"1350182108","filename":"file4"},{"photo_id":"1350182098","filename":"file1"},{"photo_id":"1350182083","filename":"file0"},{"photo_id":"1350182107","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350182111":["hashtag1","hashtag2"]},{"1350182108":["hashtag1","hashtag2"]},{"1350182098":["hashtag1","hashtag2"]},{"1350182083":["hashtag1","hashtag2"]},{"1350182104":["hashtag1","hashtag2"]},{"1350182107":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350182111, 1350182108, 1350182098, 1350182083, 1350182104, 1350182107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.387388706207275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:22:22.595193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_04_2597.jpg', '/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_22_2614.jpg', '/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_28_2751.jpg', '/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_40_2737.jpg', '/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_52_3587.jpg', '/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_16_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_04_2597.jpg
/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_22_2614.jpg
/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_28_2751.jpg
/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_40_2737.jpg
/home/pi/Desktop/images/06042025/08/01/image_06042025_08_01_52_3587.jpg
/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_16_2778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350182145","1350182147","1350182135","1350182120","1350182122","1350182125"],"photo_ids_order":["1350182120","1350182122","1350182125","1350182135","1350182145","1350182147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/aa2adedc0c3a264aff2b97e115cdffdd.jpg","text":"TemporaryFile(/tmp/multipartBody1358069221151074421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963803273,"filename":"image_06042025_08_01_52_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e7d4f69f21b6681846ffaebd4b2e7126.jpg","text":"TemporaryFile(/tmp/multipartBody7740331764207025233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963803273,"filename":"image_06042025_08_02_16_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5a88f7b62505c0c1be70ab2a57cc9fbd.jpg","text":"TemporaryFile(/tmp/multipartBody7768606964073778663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963803273,"filename":"image_06042025_08_01_40_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/76e10c2a295bf9ec5e2f2230ad347c78.jpg","text":"TemporaryFile(/tmp/multipartBody515504501586373334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963803273,"filename":"image_06042025_08_01_04_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/017fc91ba7a56ce0d13f1b35cb8a8608.jpg","text":"TemporaryFile(/tmp/multipartBody265041036344701585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963803273,"filename":"image_06042025_08_01_22_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/985a6bd5ccf0b8d7d5ba47ac8394e3c9.jpg","text":"TemporaryFile(/tmp/multipartBody9101305004267741487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963803273,"filename":"image_06042025_08_01_28_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350182125","file1":"1350182122","file0":"1350182120","file4":"1350182145","file5":"1350182147","file3":"1350182135"},"map_files_photo_id_array":[{"photo_id":"1350182147","filename":"file5"},{"photo_id":"1350182125","filename":"file2"},{"photo_id":"1350182145","filename":"file4"},{"photo_id":"1350182122","filename":"file1"},{"photo_id":"1350182120","filename":"file0"},{"photo_id":"1350182135","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350182145":["hashtag1","hashtag2"]},{"1350182147":["hashtag1","hashtag2"]},{"1350182135":["hashtag1","hashtag2"]},{"1350182120":["hashtag1","hashtag2"]},{"1350182122":["hashtag1","hashtag2"]},{"1350182125":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350182145, 1350182147, 1350182135, 1350182120, 1350182122, 1350182125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.178252935409546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:23:02.481811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_22_2726.jpg', '/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_35_3716.jpg', '/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_55_2658.jpg', '/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_10_2726.jpg', '/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_22_2656.jpg', '/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_28_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_22_2726.jpg
/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_35_3716.jpg
/home/pi/Desktop/images/06042025/08/02/image_06042025_08_02_55_2658.jpg
/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_10_2726.jpg
/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_22_2656.jpg
/home/pi/Desktop/images/06042025/08/03/image_06042025_08_03_28_3575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350182279","1350182217","1350182198","1350182251","1350182203","1350182175"],"photo_ids_order":["1350182175","1350182198","1350182203","1350182217","1350182251","1350182279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ac35c91bfdb7c89d73a68da49ab52552.jpg","text":"TemporaryFile(/tmp/multipartBody2170911570076966203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963843422,"filename":"image_06042025_08_03_28_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/271bc823f0149528f1cc70dbfad37f25.jpg","text":"TemporaryFile(/tmp/multipartBody5216164785869647216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963843422,"filename":"image_06042025_08_03_10_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/990a58b6ad862e2e3e63cda56f193fd4.jpg","text":"TemporaryFile(/tmp/multipartBody4452078675271707368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963843422,"filename":"image_06042025_08_02_35_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/db3f126345e9af5342d1e9e1115fb587.jpg","text":"TemporaryFile(/tmp/multipartBody5475634255701987858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963843422,"filename":"image_06042025_08_03_22_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e0c950c8419b51c6a0883e8fa9993f8d.jpg","text":"TemporaryFile(/tmp/multipartBody995430101178014336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963843422,"filename":"image_06042025_08_02_55_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1f26d47a2de4a525e02d425d01175b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7434787093477848504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963843422,"filename":"image_06042025_08_02_22_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350182203","file1":"1350182198","file0":"1350182175","file4":"1350182251","file5":"1350182279","file3":"1350182217"},"map_files_photo_id_array":[{"photo_id":"1350182279","filename":"file5"},{"photo_id":"1350182203","filename":"file2"},{"photo_id":"1350182251","filename":"file4"},{"photo_id":"1350182198","filename":"file1"},{"photo_id":"1350182175","filename":"file0"},{"photo_id":"1350182217","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350182279":["hashtag1","hashtag2"]},{"1350182217":["hashtag1","hashtag2"]},{"1350182198":["hashtag1","hashtag2"]},{"1350182251":["hashtag1","hashtag2"]},{"1350182203":["hashtag1","hashtag2"]},{"1350182175":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350182279, 1350182217, 1350182198, 1350182251, 1350182203, 1350182175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.575520753860474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:23:41.915315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/04/image_06042025_08_04_04_2737.jpg', '/home/pi/Desktop/images/06042025/08/04/image_06042025_08_04_42_2524.jpg', '/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_04_2837.jpg', '/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_40_2656.jpg', '/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_49_2642.jpg', '/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_55_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/04/image_06042025_08_04_04_2737.jpg
/home/pi/Desktop/images/06042025/08/04/image_06042025_08_04_42_2524.jpg
/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_04_2837.jpg
/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_40_2656.jpg
/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_49_2642.jpg
/home/pi/Desktop/images/06042025/08/05/image_06042025_08_05_55_2839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350182385","1350182390","1350182387","1350182324","1350182332","1350182329"],"photo_ids_order":["1350182324","1350182329","1350182332","1350182385","1350182387","1350182390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8b04be8f2e5ebb3e9578c8e5193cea46.jpg","text":"TemporaryFile(/tmp/multipartBody3329614917817183053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963882686,"filename":"image_06042025_08_05_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/4/6/7456f94b0a9c9abf22017b45fa142db7.jpg","text":"TemporaryFile(/tmp/multipartBody9189454690216905062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963882686,"filename":"image_06042025_08_05_55_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d72ff7df8e3dc3c243b36b20af2e7e33.jpg","text":"TemporaryFile(/tmp/multipartBody5551260341540285341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963882686,"filename":"image_06042025_08_05_49_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fa13d448266e39457da550e5eecbd8de.jpg","text":"TemporaryFile(/tmp/multipartBody4036234728992425990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963882686,"filename":"image_06042025_08_04_04_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/aecb6fd282782c25a1a720f60cb37398.jpg","text":"TemporaryFile(/tmp/multipartBody8054152084800258305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963882686,"filename":"image_06042025_08_05_04_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1b79af5a0758877c90c96e4717185f69.jpg","text":"TemporaryFile(/tmp/multipartBody1591835515139703963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963882686,"filename":"image_06042025_08_04_42_2524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350182332","file1":"1350182329","file0":"1350182324","file4":"1350182387","file5":"1350182390","file3":"1350182385"},"map_files_photo_id_array":[{"photo_id":"1350182390","filename":"file5"},{"photo_id":"1350182332","filename":"file2"},{"photo_id":"1350182387","filename":"file4"},{"photo_id":"1350182329","filename":"file1"},{"photo_id":"1350182324","filename":"file0"},{"photo_id":"1350182385","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350182385":["hashtag1","hashtag2"]},{"1350182390":["hashtag1","hashtag2"]},{"1350182387":["hashtag1","hashtag2"]},{"1350182324":["hashtag1","hashtag2"]},{"1350182332":["hashtag1","hashtag2"]},{"1350182329":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350182385, 1350182390, 1350182387, 1350182324, 1350182332, 1350182329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52620220184326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:24:22.148317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_04_3715.jpg', '/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_07_2711.jpg', '/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_10_2715.jpg', '/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_24_2809.jpg', '/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_43_2682.jpg', '/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_45_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_04_3715.jpg
/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_07_2711.jpg
/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_10_2715.jpg
/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_24_2809.jpg
/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_43_2682.jpg
/home/pi/Desktop/images/06042025/08/06/image_06042025_08_06_45_2597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350182451","1350182406","1350182420","1350182423","1350182402","1350182426"],"photo_ids_order":["1350182402","1350182406","1350182420","1350182423","1350182426","1350182451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2fb0c2f9e2f13e967a226b40f4f975e6.jpg","text":"TemporaryFile(/tmp/multipartBody7485117127699432391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963922872,"filename":"image_06042025_08_06_45_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6b6424d94c77fc6dca08b4524127f496.jpg","text":"TemporaryFile(/tmp/multipartBody5219577636560350306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963922872,"filename":"image_06042025_08_06_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/4/6/134106e313ec5689c2103e2e3d48ec42.jpg","text":"TemporaryFile(/tmp/multipartBody6202001641356824625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963922872,"filename":"image_06042025_08_06_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/4/6/0f97fa7d56ad4826447c8072a5de2017.jpg","text":"TemporaryFile(/tmp/multipartBody5557264356738894778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963922872,"filename":"image_06042025_08_06_24_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0e1dfbb87338e2eaa5c01c8a7033d9c7.jpg","text":"TemporaryFile(/tmp/multipartBody8660152779907278262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963922872,"filename":"image_06042025_08_06_04_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c06ebb14a0a2df30cb9584ff6e4fb705.jpg","text":"TemporaryFile(/tmp/multipartBody9082906421562610599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963922872,"filename":"image_06042025_08_06_43_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350182420","file1":"1350182406","file0":"1350182402","file4":"1350182426","file5":"1350182451","file3":"1350182423"},"map_files_photo_id_array":[{"photo_id":"1350182451","filename":"file5"},{"photo_id":"1350182420","filename":"file2"},{"photo_id":"1350182426","filename":"file4"},{"photo_id":"1350182406","filename":"file1"},{"photo_id":"1350182402","filename":"file0"},{"photo_id":"1350182423","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350182451":["hashtag1","hashtag2"]},{"1350182406":["hashtag1","hashtag2"]},{"1350182420":["hashtag1","hashtag2"]},{"1350182423":["hashtag1","hashtag2"]},{"1350182402":["hashtag1","hashtag2"]},{"1350182426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350182451, 1350182406, 1350182420, 1350182423, 1350182402, 1350182426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.07700324058533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:25:21.888357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/07/image_06042025_08_08_01_3679.jpg', '/home/pi/Desktop/images/06042025/08/08/image_06042025_08_08_21_2607.jpg', '/home/pi/Desktop/images/06042025/08/08/image_06042025_08_08_40_3688.jpg', '/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_22_2858.jpg', '/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_27_2697.jpg', '/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_36_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/07/image_06042025_08_08_01_3679.jpg
/home/pi/Desktop/images/06042025/08/08/image_06042025_08_08_21_2607.jpg
/home/pi/Desktop/images/06042025/08/08/image_06042025_08_08_40_3688.jpg
/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_22_2858.jpg
/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_27_2697.jpg
/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_36_2764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350182522","1350182464","1350182539","1350182493","1350182472","1350182475"],"photo_ids_order":["1350182464","1350182472","1350182475","1350182493","1350182522","1350182539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/89bfd393dfb3a41bdcd0048e54d04ff0.jpg","text":"TemporaryFile(/tmp/multipartBody7442889604279223233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963982595,"filename":"image_06042025_08_09_27_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/30dfd4ae9f76c733e9e2d8d13402de7b.jpg","text":"TemporaryFile(/tmp/multipartBody6780705335022099295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963982595,"filename":"image_06042025_08_08_01_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d63c84c0f959e0011f869dcb688b23e1.jpg","text":"TemporaryFile(/tmp/multipartBody4874194437811984935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963982595,"filename":"image_06042025_08_09_36_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b0ae278a8862d388c56cf51467645325.jpg","text":"TemporaryFile(/tmp/multipartBody3738388008968290683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963982595,"filename":"image_06042025_08_09_22_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/47b40a5d6777bc208d779459098f67bb.jpg","text":"TemporaryFile(/tmp/multipartBody5498803983163328276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963982595,"filename":"image_06042025_08_08_21_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0f3624155909de5f8baf480658690a41.jpg","text":"TemporaryFile(/tmp/multipartBody7176626491894858500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743963982595,"filename":"image_06042025_08_08_40_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350182475","file1":"1350182472","file0":"1350182464","file4":"1350182522","file5":"1350182539","file3":"1350182493"},"map_files_photo_id_array":[{"photo_id":"1350182539","filename":"file5"},{"photo_id":"1350182475","filename":"file2"},{"photo_id":"1350182522","filename":"file4"},{"photo_id":"1350182472","filename":"file1"},{"photo_id":"1350182464","filename":"file0"},{"photo_id":"1350182493","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350182522":["hashtag1","hashtag2"]},{"1350182464":["hashtag1","hashtag2"]},{"1350182539":["hashtag1","hashtag2"]},{"1350182493":["hashtag1","hashtag2"]},{"1350182472":["hashtag1","hashtag2"]},{"1350182475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350182522, 1350182464, 1350182539, 1350182493, 1350182472, 1350182475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.128244400024414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:26:02.693459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_52_3702.jpg', '/home/pi/Desktop/images/06042025/08/10/image_06042025_08_10_09_2770.jpg', '/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_21_3655.jpg', '/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_30_2717.jpg', '/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_34_3671.jpg', '/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_57_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/09/image_06042025_08_09_52_3702.jpg
/home/pi/Desktop/images/06042025/08/10/image_06042025_08_10_09_2770.jpg
/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_21_3655.jpg
/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_30_2717.jpg
/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_34_3671.jpg
/home/pi/Desktop/images/06042025/08/11/image_06042025_08_11_57_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":["1350182628","1350182622","1350182619","1350182601","1350182615","1350182614"],"photo_ids_order":["1350182601","1350182614","1350182615","1350182619","1350182622","1350182628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9b20b13e5bb3f5ff9768c4487994743e.jpg","text":"TemporaryFile(/tmp/multipartBody2875289212952552662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964023455,"filename":"image_06042025_08_11_57_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/363f585c8cf6f3dc2641257322f34e92.jpg","text":"TemporaryFile(/tmp/multipartBody6483356465482043740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964023455,"filename":"image_06042025_08_11_34_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/48e46e7d8366eb99a45f33150009409f.jpg","text":"TemporaryFile(/tmp/multipartBody887478722780185304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964023455,"filename":"image_06042025_08_11_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/4/6/9c3522de00b33c800473d4bdb9a5c085.jpg","text":"TemporaryFile(/tmp/multipartBody1374334321427518606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964023455,"filename":"image_06042025_08_09_52_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/81cb09c659695113a601b31325c23f4a.jpg","text":"TemporaryFile(/tmp/multipartBody9156748313198965484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964023455,"filename":"image_06042025_08_11_21_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bab0ac1fd5ca163ddae361d9f1a189a0.jpg","text":"TemporaryFile(/tmp/multipartBody1771720167294943703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964023455,"filename":"image_06042025_08_10_09_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350182615","file1":"1350182614","file0":"1350182601","file4":"1350182622","file5":"1350182628","file3":"1350182619"},"map_files_photo_id_array":[{"photo_id":"1350182628","filename":"file5"},{"photo_id":"1350182615","filename":"file2"},{"photo_id":"1350182622","filename":"file4"},{"photo_id":"1350182614","filename":"file1"},{"photo_id":"1350182601","filename":"file0"},{"photo_id":"1350182619","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350182628":["hashtag1","hashtag2"]},{"1350182622":["hashtag1","hashtag2"]},{"1350182619":["hashtag1","hashtag2"]},{"1350182601":["hashtag1","hashtag2"]},{"1350182615":["hashtag1","hashtag2"]},{"1350182614":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350182628, 1350182622, 1350182619, 1350182601, 1350182615, 1350182614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.6420464515686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:27:02.539007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/11/image_06042025_08_12_00_2692.jpg', '/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_09_2698.jpg', '/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_36_2662.jpg', '/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_45_2841.jpg', '/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_48_2639.jpg', '/home/pi/Desktop/images/06042025/08/19/image_06042025_08_19_54_3796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/11/image_06042025_08_12_00_2692.jpg
/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_09_2698.jpg
/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_36_2662.jpg
/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_45_2841.jpg
/home/pi/Desktop/images/06042025/08/12/image_06042025_08_12_48_2639.jpg
/home/pi/Desktop/images/06042025/08/19/image_06042025_08_19_54_3796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350182676","1350182675","1350182651","1350182656","1350182641","1350182665"],"photo_ids_order":["1350182641","1350182651","1350182656","1350182665","1350182675","1350182676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/33ea6ba142433aec1cb99f140550f467.jpg","text":"TemporaryFile(/tmp/multipartBody1511293057037057374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964083365,"filename":"image_06042025_08_19_54_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a08ca73b4828cfc06c82976a6dd04422.jpg","text":"TemporaryFile(/tmp/multipartBody7444974647801061750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964083365,"filename":"image_06042025_08_12_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/4/6/3643a39770f21b8e2334464bae744d4b.jpg","text":"TemporaryFile(/tmp/multipartBody2013693409345871609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964083365,"filename":"image_06042025_08_12_09_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f125ac8caf7ea8cd80663e321484578f.jpg","text":"TemporaryFile(/tmp/multipartBody6616787875046774628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964083365,"filename":"image_06042025_08_12_36_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2ddc6ef99eebddd63e5d0aacf3bec30c.jpg","text":"TemporaryFile(/tmp/multipartBody383051534280588748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964083365,"filename":"image_06042025_08_12_00_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/06e1606cbaa1b006bb8379f92a5b2d95.jpg","text":"TemporaryFile(/tmp/multipartBody782453956119508087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964083365,"filename":"image_06042025_08_12_45_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350182656","file1":"1350182651","file0":"1350182641","file4":"1350182675","file5":"1350182676","file3":"1350182665"},"map_files_photo_id_array":[{"photo_id":"1350182676","filename":"file5"},{"photo_id":"1350182656","filename":"file2"},{"photo_id":"1350182675","filename":"file4"},{"photo_id":"1350182651","filename":"file1"},{"photo_id":"1350182641","filename":"file0"},{"photo_id":"1350182665","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350182676":["hashtag1","hashtag2"]},{"1350182675":["hashtag1","hashtag2"]},{"1350182651":["hashtag1","hashtag2"]},{"1350182656":["hashtag1","hashtag2"]},{"1350182641":["hashtag1","hashtag2"]},{"1350182665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350182676, 1350182675, 1350182651, 1350182656, 1350182641, 1350182665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.759202003479004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:27:42.033701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_01_6757.jpg', '/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_08_2665.jpg', '/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_15_3664.jpg', '/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_23_2634.jpg', '/home/pi/Desktop/images/06042025/08/21/image_06042025_08_21_17_3561.jpg', '/home/pi/Desktop/images/06042025/08/21/image_06042025_08_21_29_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_01_6757.jpg
/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_08_2665.jpg
/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_15_3664.jpg
/home/pi/Desktop/images/06042025/08/20/image_06042025_08_20_23_2634.jpg
/home/pi/Desktop/images/06042025/08/21/image_06042025_08_21_17_3561.jpg
/home/pi/Desktop/images/06042025/08/21/image_06042025_08_21_29_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":["1350182727","1350182729","1350182723","1350182717","1350182705","1350182701"],"photo_ids_order":["1350182701","1350182705","1350182717","1350182723","1350182727","1350182729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0a0e920f3257ef00d1138b467415e0bb.jpg","text":"TemporaryFile(/tmp/multipartBody6590808334898498655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964122757,"filename":"image_06042025_08_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/4/6/ea97072a6dc4c95f9192be0a1be7122f.jpg","text":"TemporaryFile(/tmp/multipartBody4854699369903157173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964122757,"filename":"image_06042025_08_21_29_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/84b9b816e6a83db4e08758611b09fbad.jpg","text":"TemporaryFile(/tmp/multipartBody7955978798520562338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964122757,"filename":"image_06042025_08_20_23_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c5e8b841816c6a959c7dc105e616202b.jpg","text":"TemporaryFile(/tmp/multipartBody391678475540782877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964122757,"filename":"image_06042025_08_20_15_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9f69fbb8c4bbab10e6888586f9cd1070.jpg","text":"TemporaryFile(/tmp/multipartBody2909954700381450768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964122757,"filename":"image_06042025_08_20_08_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b8517bc1274d7e7c0293edb905e5380d.jpg","text":"TemporaryFile(/tmp/multipartBody5332255355233790276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964122757,"filename":"image_06042025_08_20_01_6757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350182717","file1":"1350182705","file0":"1350182701","file4":"1350182727","file5":"1350182729","file3":"1350182723"},"map_files_photo_id_array":[{"photo_id":"1350182729","filename":"file5"},{"photo_id":"1350182717","filename":"file2"},{"photo_id":"1350182727","filename":"file4"},{"photo_id":"1350182705","filename":"file1"},{"photo_id":"1350182701","filename":"file0"},{"photo_id":"1350182723","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350182727":["hashtag1","hashtag2"]},{"1350182729":["hashtag1","hashtag2"]},{"1350182723":["hashtag1","hashtag2"]},{"1350182717":["hashtag1","hashtag2"]},{"1350182705":["hashtag1","hashtag2"]},{"1350182701":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350182727, 1350182729, 1350182723, 1350182717, 1350182705, 1350182701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.192636489868164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:28:42.456642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_09_3696.jpg', '/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_11_2625.jpg', '/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_18_3551.jpg', '/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_20_2748.jpg', '/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_39_3722.jpg', '/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_48_3783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_09_3696.jpg
/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_11_2625.jpg
/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_18_3551.jpg
/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_20_2748.jpg
/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_39_3722.jpg
/home/pi/Desktop/images/06042025/08/22/image_06042025_08_22_48_3783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350182742","1350182756","1350182753","1350182749","1350182758","1350182746"],"photo_ids_order":["1350182742","1350182746","1350182749","1350182753","1350182756","1350182758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fbc1e81af54dc0cf38c6a03dcab59604.jpg","text":"TemporaryFile(/tmp/multipartBody2063277440109136853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964183148,"filename":"image_06042025_08_22_09_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/734d0b3bf7cb6b8a91b9eb281787e4fd.jpg","text":"TemporaryFile(/tmp/multipartBody5709292437163522186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964183148,"filename":"image_06042025_08_22_39_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/711f932aa875654054b7dc6d24a68d37.jpg","text":"TemporaryFile(/tmp/multipartBody2355261581240032478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964183148,"filename":"image_06042025_08_22_20_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c431eb70c70c0b0f8b68e8464f06b2da.jpg","text":"TemporaryFile(/tmp/multipartBody8169071199409088568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964183148,"filename":"image_06042025_08_22_18_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4d3e9de829439b759ff452f2f9942669.jpg","text":"TemporaryFile(/tmp/multipartBody2826162219501310129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964183148,"filename":"image_06042025_08_22_48_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3eaadbc1f15d918468ac4427985059d0.jpg","text":"TemporaryFile(/tmp/multipartBody1045327185863680146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964183148,"filename":"image_06042025_08_22_11_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350182749","file1":"1350182746","file0":"1350182742","file4":"1350182756","file5":"1350182758","file3":"1350182753"},"map_files_photo_id_array":[{"photo_id":"1350182758","filename":"file5"},{"photo_id":"1350182749","filename":"file2"},{"photo_id":"1350182756","filename":"file4"},{"photo_id":"1350182746","filename":"file1"},{"photo_id":"1350182742","filename":"file0"},{"photo_id":"1350182753","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350182742":["hashtag1","hashtag2"]},{"1350182756":["hashtag1","hashtag2"]},{"1350182753":["hashtag1","hashtag2"]},{"1350182749":["hashtag1","hashtag2"]},{"1350182758":["hashtag1","hashtag2"]},{"1350182746":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350182742, 1350182756, 1350182753, 1350182749, 1350182758, 1350182746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54104399681091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:29:22.395319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_02_2660.jpg', '/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_06_3685.jpg', '/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_38_3640.jpg', '/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_56_2649.jpg', '/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_59_3668.jpg', '/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_32_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_02_2660.jpg
/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_06_3685.jpg
/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_38_3640.jpg
/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_56_2649.jpg
/home/pi/Desktop/images/06042025/08/23/image_06042025_08_23_59_3668.jpg
/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_32_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350182894","1350182762","1350182765","1350182768","1350182773","1350182898"],"photo_ids_order":["1350182762","1350182765","1350182768","1350182773","1350182894","1350182898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/79a417e4eb637c9dba6a423adabecaf3.jpg","text":"TemporaryFile(/tmp/multipartBody501316691120260302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964223098,"filename":"image_06042025_08_23_59_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/76dbe6567b95ed7a256def8eb5dad974.jpg","text":"TemporaryFile(/tmp/multipartBody4231097442688294311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964223098,"filename":"image_06042025_08_23_02_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ff920efc02c0e11e48aea6195a78c863.jpg","text":"TemporaryFile(/tmp/multipartBody3765773945554199042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964223098,"filename":"image_06042025_08_23_06_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/91e1965bf82c05400c5893f2b4b6a28d.jpg","text":"TemporaryFile(/tmp/multipartBody8682573059572193531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964223098,"filename":"image_06042025_08_23_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/4/6/66c978dcfd9e7b1a16cd1724eb119552.jpg","text":"TemporaryFile(/tmp/multipartBody8125680489992112489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964223098,"filename":"image_06042025_08_23_56_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7848199d0d395f07730c8daac6ca119f.jpg","text":"TemporaryFile(/tmp/multipartBody3691674736998896484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964223098,"filename":"image_06042025_08_24_32_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350182768","file1":"1350182765","file0":"1350182762","file4":"1350182894","file5":"1350182898","file3":"1350182773"},"map_files_photo_id_array":[{"photo_id":"1350182898","filename":"file5"},{"photo_id":"1350182768","filename":"file2"},{"photo_id":"1350182894","filename":"file4"},{"photo_id":"1350182765","filename":"file1"},{"photo_id":"1350182762","filename":"file0"},{"photo_id":"1350182773","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350182894":["hashtag1","hashtag2"]},{"1350182762":["hashtag1","hashtag2"]},{"1350182765":["hashtag1","hashtag2"]},{"1350182768":["hashtag1","hashtag2"]},{"1350182773":["hashtag1","hashtag2"]},{"1350182898":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350182894, 1350182762, 1350182765, 1350182768, 1350182773, 1350182898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64693880081177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:30:03.359433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_38_2755.jpg', '/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_41_2696.jpg', '/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_47_2990.jpg', '/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_08_3764.jpg', '/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_14_2624.jpg', '/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_20_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_38_2755.jpg
/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_41_2696.jpg
/home/pi/Desktop/images/06042025/08/24/image_06042025_08_24_47_2990.jpg
/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_08_3764.jpg
/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_14_2624.jpg
/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_20_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350182928","1350182916","1350182936","1350182918","1350182912","1350182920"],"photo_ids_order":["1350182912","1350182916","1350182918","1350182920","1350182928","1350182936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/92f839a886ec6803a2f682e617968840.jpg","text":"TemporaryFile(/tmp/multipartBody7865310061082501095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964264145,"filename":"image_06042025_08_25_14_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0884390b0dcc142d8f67f95bfff8b4b0.jpg","text":"TemporaryFile(/tmp/multipartBody459398486742587658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964264145,"filename":"image_06042025_08_24_41_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8a830b4b95eb4f6bd02d8c7b2ac34622.jpg","text":"TemporaryFile(/tmp/multipartBody4996973854533913593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964264145,"filename":"image_06042025_08_25_20_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e1ad712e10af57d5ede62223155e0735.jpg","text":"TemporaryFile(/tmp/multipartBody4679280885634217958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964264145,"filename":"image_06042025_08_24_47_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a88384113a98dab67928eadbaf2bd699.jpg","text":"TemporaryFile(/tmp/multipartBody5012104949907159341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964264145,"filename":"image_06042025_08_24_38_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c9caf293d2e351a79f26b166f0d76a2f.jpg","text":"TemporaryFile(/tmp/multipartBody5705573476745129799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964264145,"filename":"image_06042025_08_25_08_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350182918","file1":"1350182916","file0":"1350182912","file4":"1350182928","file5":"1350182936","file3":"1350182920"},"map_files_photo_id_array":[{"photo_id":"1350182936","filename":"file5"},{"photo_id":"1350182918","filename":"file2"},{"photo_id":"1350182928","filename":"file4"},{"photo_id":"1350182916","filename":"file1"},{"photo_id":"1350182912","filename":"file0"},{"photo_id":"1350182920","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350182928":["hashtag1","hashtag2"]},{"1350182916":["hashtag1","hashtag2"]},{"1350182936":["hashtag1","hashtag2"]},{"1350182918":["hashtag1","hashtag2"]},{"1350182912":["hashtag1","hashtag2"]},{"1350182920":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350182928, 1350182916, 1350182936, 1350182918, 1350182912, 1350182920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88751769065857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:30:42.626238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_23_2663.jpg', '/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_38_3785.jpg', '/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_05_3546.jpg', '/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_17_2600.jpg', '/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_26_2620.jpg', '/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_32_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_23_2663.jpg
/home/pi/Desktop/images/06042025/08/25/image_06042025_08_25_38_3785.jpg
/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_05_3546.jpg
/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_17_2600.jpg
/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_26_2620.jpg
/home/pi/Desktop/images/06042025/08/26/image_06042025_08_26_32_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":["1350183015","1350182946","1350183003","1350183011","1350183014","1350183006"],"photo_ids_order":["1350182946","1350183003","1350183006","1350183011","1350183014","1350183015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ad019786a5d0365545012b66f69af36a.jpg","text":"TemporaryFile(/tmp/multipartBody4209962976587342840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964303308,"filename":"image_06042025_08_26_32_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/120cc6541b2c71ff861fa6aef48e5878.jpg","text":"TemporaryFile(/tmp/multipartBody3370945069486604739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964303308,"filename":"image_06042025_08_25_23_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4dcac2831d76a31ef0cf6c5055d1dac7.jpg","text":"TemporaryFile(/tmp/multipartBody8123312646995558630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964303308,"filename":"image_06042025_08_25_38_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2c0a1415981050cc96ba1e684a1ac679.jpg","text":"TemporaryFile(/tmp/multipartBody3011557375779848020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964303308,"filename":"image_06042025_08_26_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/4/6/d3e08f708144c98fa6f6804d257f7ee6.jpg","text":"TemporaryFile(/tmp/multipartBody209672887912883744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964303308,"filename":"image_06042025_08_26_26_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/80f29bd4a06c6bbd5fc412048948fead.jpg","text":"TemporaryFile(/tmp/multipartBody1158629792385238854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964303308,"filename":"image_06042025_08_26_05_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183006","file1":"1350183003","file0":"1350182946","file4":"1350183014","file5":"1350183015","file3":"1350183011"},"map_files_photo_id_array":[{"photo_id":"1350183015","filename":"file5"},{"photo_id":"1350183006","filename":"file2"},{"photo_id":"1350183014","filename":"file4"},{"photo_id":"1350183003","filename":"file1"},{"photo_id":"1350182946","filename":"file0"},{"photo_id":"1350183011","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183015":["hashtag1","hashtag2"]},{"1350182946":["hashtag1","hashtag2"]},{"1350183003":["hashtag1","hashtag2"]},{"1350183011":["hashtag1","hashtag2"]},{"1350183014":["hashtag1","hashtag2"]},{"1350183006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183015, 1350182946, 1350183003, 1350183011, 1350183014, 1350183006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.593048334121704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:31:42.757826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/27/image_06042025_08_27_47_3597.jpg', '/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_16_2817.jpg', '/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_34_2739.jpg', '/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_55_2691.jpg', '/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_04_2689.jpg', '/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_07_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/27/image_06042025_08_27_47_3597.jpg
/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_16_2817.jpg
/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_34_2739.jpg
/home/pi/Desktop/images/06042025/08/28/image_06042025_08_28_55_2691.jpg
/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_04_2689.jpg
/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_07_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183047","1350183029","1350183043","1350183025","1350183045","1350183039"],"photo_ids_order":["1350183025","1350183029","1350183039","1350183043","1350183045","1350183047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c534f2099ad5c58a51c7fefead9afa8e.jpg","text":"TemporaryFile(/tmp/multipartBody5816986287711148189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964363479,"filename":"image_06042025_08_29_07_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/28ffda837410f2de32e830fe7a15c666.jpg","text":"TemporaryFile(/tmp/multipartBody9032487181310027099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964363479,"filename":"image_06042025_08_28_16_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f12e3df1fe3fc00e855e746b251f1227.jpg","text":"TemporaryFile(/tmp/multipartBody8511125250806798153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964363479,"filename":"image_06042025_08_28_55_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0893078a3bbc80cc3fa9d0fdf8ecc4ba.jpg","text":"TemporaryFile(/tmp/multipartBody8292161414379769227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964363479,"filename":"image_06042025_08_27_47_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/47f94ac2aaa1127c32e2e7873f0a8160.jpg","text":"TemporaryFile(/tmp/multipartBody1152386329532446754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964363479,"filename":"image_06042025_08_29_04_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e57e6d283516ca7db2a74f1b0790cea7.jpg","text":"TemporaryFile(/tmp/multipartBody2342073605296671311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964363479,"filename":"image_06042025_08_28_34_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183039","file1":"1350183029","file0":"1350183025","file4":"1350183045","file5":"1350183047","file3":"1350183043"},"map_files_photo_id_array":[{"photo_id":"1350183047","filename":"file5"},{"photo_id":"1350183039","filename":"file2"},{"photo_id":"1350183045","filename":"file4"},{"photo_id":"1350183029","filename":"file1"},{"photo_id":"1350183025","filename":"file0"},{"photo_id":"1350183043","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183047":["hashtag1","hashtag2"]},{"1350183029":["hashtag1","hashtag2"]},{"1350183043":["hashtag1","hashtag2"]},{"1350183025":["hashtag1","hashtag2"]},{"1350183045":["hashtag1","hashtag2"]},{"1350183039":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183047, 1350183029, 1350183043, 1350183025, 1350183045, 1350183039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2705717086792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:32:21.764877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_46_2761.jpg', '/home/pi/Desktop/images/06042025/08/30/image_06042025_08_30_13_2717.jpg', '/home/pi/Desktop/images/06042025/08/30/image_06042025_08_30_23_2792.jpg', '/home/pi/Desktop/images/06042025/08/30/image_06042025_08_30_25_2658.jpg', '/home/pi/Desktop/images/06042025/08/30/image_06042025_08_30_41_2744.jpg', '/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_02_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/29/image_06042025_08_29_46_2761.jpg
/home/pi/Desktop/images/06042025/08/30/image_06042025_08_30_13_2717.jpg
/home/pi/Desktop/images/06042025/08/30/image_06042025_08_30_23_2792.jpg
/home/pi/Desktop/images/06042025/08/30/image_06042025_08_30_25_2658.jpg
/home/pi/Desktop/images/06042025/08/30/image_06042025_08_30_41_2744.jpg
/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_02_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183083","1350183061","1350183049","1350183078","1350183072","1350183051"],"photo_ids_order":["1350183049","1350183051","1350183061","1350183072","1350183078","1350183083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/47d356c7288d3c15528ed7b02fab2ffc.jpg","text":"TemporaryFile(/tmp/multipartBody953232857098815327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964402487,"filename":"image_06042025_08_31_02_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3150cfe3a06a08032938ebaeb61fee3e.jpg","text":"TemporaryFile(/tmp/multipartBody1394745661325129176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964402487,"filename":"image_06042025_08_30_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/4/6/b44d93ea6563fa2443ff33260f258823.jpg","text":"TemporaryFile(/tmp/multipartBody2076479350450584829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964402487,"filename":"image_06042025_08_29_46_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/18b8c339bd0052cf4f239bf7626ea958.jpg","text":"TemporaryFile(/tmp/multipartBody2342069951865475310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964402487,"filename":"image_06042025_08_30_41_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2727e494f15bc1b49758f59972c3b468.jpg","text":"TemporaryFile(/tmp/multipartBody2217821686940200326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964402487,"filename":"image_06042025_08_30_25_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/39fd0345777debd59b43502d45b302d8.jpg","text":"TemporaryFile(/tmp/multipartBody5200759153299237890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964402487,"filename":"image_06042025_08_30_13_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183061","file1":"1350183051","file0":"1350183049","file4":"1350183078","file5":"1350183083","file3":"1350183072"},"map_files_photo_id_array":[{"photo_id":"1350183083","filename":"file5"},{"photo_id":"1350183061","filename":"file2"},{"photo_id":"1350183078","filename":"file4"},{"photo_id":"1350183051","filename":"file1"},{"photo_id":"1350183049","filename":"file0"},{"photo_id":"1350183072","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183083":["hashtag1","hashtag2"]},{"1350183061":["hashtag1","hashtag2"]},{"1350183049":["hashtag1","hashtag2"]},{"1350183078":["hashtag1","hashtag2"]},{"1350183072":["hashtag1","hashtag2"]},{"1350183051":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183083, 1350183061, 1350183049, 1350183078, 1350183072, 1350183051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68378043174744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:33:03.526189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_04_2589.jpg', '/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_08_3656.jpg', '/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_13_2754.jpg', '/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_28_2626.jpg', '/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_37_2595.jpg', '/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_46_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_04_2589.jpg
/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_08_3656.jpg
/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_13_2754.jpg
/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_28_2626.jpg
/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_37_2595.jpg
/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_46_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183110","1350183113","1350183121","1350183109","1350183123","1350183111"],"photo_ids_order":["1350183109","1350183110","1350183111","1350183113","1350183121","1350183123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b6d66a15c979ec4db3089c78421ddf66.jpg","text":"TemporaryFile(/tmp/multipartBody3571289428150859668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964444352,"filename":"image_06042025_08_31_08_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/360dc84e87dbe00147bc2c344c02b5a2.jpg","text":"TemporaryFile(/tmp/multipartBody1775308718002648507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964444352,"filename":"image_06042025_08_31_28_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/931aaecdcb9298944feb16fd1ba271d9.jpg","text":"TemporaryFile(/tmp/multipartBody1916237705505768607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964444352,"filename":"image_06042025_08_31_37_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ded92f68e4f8948fa04bbce09a9853eb.jpg","text":"TemporaryFile(/tmp/multipartBody7065325697924113120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964444352,"filename":"image_06042025_08_31_04_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/03c2adbd0c47f769d5d0a133d0712158.jpg","text":"TemporaryFile(/tmp/multipartBody8339944047658445608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964444352,"filename":"image_06042025_08_31_46_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ff39e110796847f8d8164250d2e5ca8a.jpg","text":"TemporaryFile(/tmp/multipartBody8721046011780555344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964444352,"filename":"image_06042025_08_31_13_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183111","file1":"1350183110","file0":"1350183109","file4":"1350183121","file5":"1350183123","file3":"1350183113"},"map_files_photo_id_array":[{"photo_id":"1350183123","filename":"file5"},{"photo_id":"1350183111","filename":"file2"},{"photo_id":"1350183121","filename":"file4"},{"photo_id":"1350183110","filename":"file1"},{"photo_id":"1350183109","filename":"file0"},{"photo_id":"1350183113","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183110":["hashtag1","hashtag2"]},{"1350183113":["hashtag1","hashtag2"]},{"1350183121":["hashtag1","hashtag2"]},{"1350183109":["hashtag1","hashtag2"]},{"1350183123":["hashtag1","hashtag2"]},{"1350183111":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183110, 1350183113, 1350183121, 1350183109, 1350183123, 1350183111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36048197746277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:33:42.908323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_59_3605.jpg', '/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_01_2505.jpg', '/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_10_2665.jpg', '/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_19_2684.jpg', '/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_22_2714.jpg', '/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_31_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/31/image_06042025_08_31_59_3605.jpg
/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_01_2505.jpg
/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_10_2665.jpg
/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_19_2684.jpg
/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_22_2714.jpg
/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_31_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183182","1350183176","1350183158","1350183178","1350183172","1350183180"],"photo_ids_order":["1350183158","1350183172","1350183176","1350183178","1350183180","1350183182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7b23dfa8c83bc6e64c8a32ea91ea919b.jpg","text":"TemporaryFile(/tmp/multipartBody3359297553624905479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964483626,"filename":"image_06042025_08_32_31_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1b21bc796f1df7c5097414af440d02cd.jpg","text":"TemporaryFile(/tmp/multipartBody1002140510503905556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964483626,"filename":"image_06042025_08_32_10_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0aac4fa594a52edcb8c6620bbb49b094.jpg","text":"TemporaryFile(/tmp/multipartBody8658963077386679477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964483626,"filename":"image_06042025_08_31_59_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/aa6cb8ef9b60818d5c7fe16d074c9cb0.jpg","text":"TemporaryFile(/tmp/multipartBody297800200403765416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964483626,"filename":"image_06042025_08_32_19_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2393ca10f7bb379a0fd6f39322d5ae7b.jpg","text":"TemporaryFile(/tmp/multipartBody1340762297756552316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964483626,"filename":"image_06042025_08_32_01_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/717862135c87289a86bcfe5b648d5663.jpg","text":"TemporaryFile(/tmp/multipartBody2195075859147636498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964483626,"filename":"image_06042025_08_32_22_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183176","file1":"1350183172","file0":"1350183158","file4":"1350183180","file5":"1350183182","file3":"1350183178"},"map_files_photo_id_array":[{"photo_id":"1350183182","filename":"file5"},{"photo_id":"1350183176","filename":"file2"},{"photo_id":"1350183180","filename":"file4"},{"photo_id":"1350183172","filename":"file1"},{"photo_id":"1350183158","filename":"file0"},{"photo_id":"1350183178","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183182":["hashtag1","hashtag2"]},{"1350183176":["hashtag1","hashtag2"]},{"1350183158":["hashtag1","hashtag2"]},{"1350183178":["hashtag1","hashtag2"]},{"1350183172":["hashtag1","hashtag2"]},{"1350183180":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183182, 1350183176, 1350183158, 1350183178, 1350183172, 1350183180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93039035797119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:34:22.278151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_35_3672.jpg', '/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_37_2525.jpg', '/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_41_3681.jpg', '/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_44_2790.jpg', '/home/pi/Desktop/images/06042025/08/33/image_06042025_08_33_34_2836.jpg', '/home/pi/Desktop/images/06042025/08/34/image_06042025_08_34_14_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_35_3672.jpg
/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_37_2525.jpg
/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_41_3681.jpg
/home/pi/Desktop/images/06042025/08/32/image_06042025_08_32_44_2790.jpg
/home/pi/Desktop/images/06042025/08/33/image_06042025_08_33_34_2836.jpg
/home/pi/Desktop/images/06042025/08/34/image_06042025_08_34_14_3570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183196","1350183199","1350183190","1350183187","1350183192","1350183205"],"photo_ids_order":["1350183187","1350183190","1350183192","1350183196","1350183199","1350183205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/41a224e5975ae3c451bd82bc82799689.jpg","text":"TemporaryFile(/tmp/multipartBody2129120930483681736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964522960,"filename":"image_06042025_08_32_44_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/31bdc451fdfe8a51672e1360d3e28e6c.jpg","text":"TemporaryFile(/tmp/multipartBody6884553251485921926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964522960,"filename":"image_06042025_08_33_34_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b9ecd7986a0acb772e998379879522f6.jpg","text":"TemporaryFile(/tmp/multipartBody5432774706723301710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964522960,"filename":"image_06042025_08_32_37_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c27332bf57d0b5980794cd2e2d361c69.jpg","text":"TemporaryFile(/tmp/multipartBody1114660600641634655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964522960,"filename":"image_06042025_08_32_35_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5397ea8ca5da52bac4b72785129af0da.jpg","text":"TemporaryFile(/tmp/multipartBody7650002063455252429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964522960,"filename":"image_06042025_08_32_41_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/72f8d9fad953b5d5993b53d418f069bc.jpg","text":"TemporaryFile(/tmp/multipartBody4955662307263391285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964522960,"filename":"image_06042025_08_34_14_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183192","file1":"1350183190","file0":"1350183187","file4":"1350183199","file5":"1350183205","file3":"1350183196"},"map_files_photo_id_array":[{"photo_id":"1350183205","filename":"file5"},{"photo_id":"1350183192","filename":"file2"},{"photo_id":"1350183199","filename":"file4"},{"photo_id":"1350183190","filename":"file1"},{"photo_id":"1350183187","filename":"file0"},{"photo_id":"1350183196","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183196":["hashtag1","hashtag2"]},{"1350183199":["hashtag1","hashtag2"]},{"1350183190":["hashtag1","hashtag2"]},{"1350183187":["hashtag1","hashtag2"]},{"1350183192":["hashtag1","hashtag2"]},{"1350183205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183196, 1350183199, 1350183190, 1350183187, 1350183192, 1350183205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53466868400574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:35:03.005056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/34/image_06042025_08_34_19_2673.jpg', '/home/pi/Desktop/images/06042025/08/34/image_06042025_08_34_22_3581.jpg', '/home/pi/Desktop/images/06042025/08/35/image_06042025_08_35_34_3587.jpg', '/home/pi/Desktop/images/06042025/08/35/image_06042025_08_35_52_2710.jpg', '/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_04_2703.jpg', '/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_07_3737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/34/image_06042025_08_34_19_2673.jpg
/home/pi/Desktop/images/06042025/08/34/image_06042025_08_34_22_3581.jpg
/home/pi/Desktop/images/06042025/08/35/image_06042025_08_35_34_3587.jpg
/home/pi/Desktop/images/06042025/08/35/image_06042025_08_35_52_2710.jpg
/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_04_2703.jpg
/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_07_3737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183221","1350183215","1350183220","1350183223","1350183217","1350183219"],"photo_ids_order":["1350183215","1350183217","1350183219","1350183220","1350183221","1350183223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ba80f27aac7a38602f8bb37d06b82e09.jpg","text":"TemporaryFile(/tmp/multipartBody3750088142577467268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964563830,"filename":"image_06042025_08_36_04_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c988c45b0c426e0c4f5ddae14572258c.jpg","text":"TemporaryFile(/tmp/multipartBody2397040084824776824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964563830,"filename":"image_06042025_08_34_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/4/6/98b801a47fa31e55e00d6c354857e6fe.jpg","text":"TemporaryFile(/tmp/multipartBody2208652468073223699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964563830,"filename":"image_06042025_08_35_52_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e0a316b0c243d47e9fd7fc89b7eb14ad.jpg","text":"TemporaryFile(/tmp/multipartBody134189631815463427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964563830,"filename":"image_06042025_08_36_07_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/56ce4a7ab091816d55ed86af61fb92de.jpg","text":"TemporaryFile(/tmp/multipartBody45123414444843263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964563830,"filename":"image_06042025_08_34_22_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cdfad731841811711db0fecbb19f1071.jpg","text":"TemporaryFile(/tmp/multipartBody7155836413102992722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964563830,"filename":"image_06042025_08_35_34_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183219","file1":"1350183217","file0":"1350183215","file4":"1350183221","file5":"1350183223","file3":"1350183220"},"map_files_photo_id_array":[{"photo_id":"1350183223","filename":"file5"},{"photo_id":"1350183219","filename":"file2"},{"photo_id":"1350183221","filename":"file4"},{"photo_id":"1350183217","filename":"file1"},{"photo_id":"1350183215","filename":"file0"},{"photo_id":"1350183220","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183221":["hashtag1","hashtag2"]},{"1350183215":["hashtag1","hashtag2"]},{"1350183220":["hashtag1","hashtag2"]},{"1350183223":["hashtag1","hashtag2"]},{"1350183217":["hashtag1","hashtag2"]},{"1350183219":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183221, 1350183215, 1350183220, 1350183223, 1350183217, 1350183219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66633415222168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:35:42.167830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_13_2557.jpg', '/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_25_3597.jpg', '/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_28_2760.jpg', '/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_58_1740.jpg', '/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_04_1702.jpg', '/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_06_1614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_13_2557.jpg
/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_25_3597.jpg
/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_28_2760.jpg
/home/pi/Desktop/images/06042025/08/36/image_06042025_08_36_58_1740.jpg
/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_04_1702.jpg
/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_06_1614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183245","1350183248","1350183250","1350183241","1350183237","1350183231"],"photo_ids_order":["1350183231","1350183237","1350183241","1350183245","1350183248","1350183250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7da58b76bfb502af89f843e177efc44f.jpg","text":"TemporaryFile(/tmp/multipartBody1565848379066682029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964602888,"filename":"image_06042025_08_36_58_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/84ae49ffc01e180bfb47d61b096d19f1.jpg","text":"TemporaryFile(/tmp/multipartBody5601799882877281715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964602888,"filename":"image_06042025_08_37_04_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/56130aeeff427457b9b33e1a0b37d289.jpg","text":"TemporaryFile(/tmp/multipartBody6982748024768593932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964602888,"filename":"image_06042025_08_37_06_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d6a56fe107eb9b2da9d05db98650bba8.jpg","text":"TemporaryFile(/tmp/multipartBody1864524276886171082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964602888,"filename":"image_06042025_08_36_28_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c6c2f32b1713c12a961080554bdc0212.jpg","text":"TemporaryFile(/tmp/multipartBody6962620334934495769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964602888,"filename":"image_06042025_08_36_25_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/83acdd064e37fcfb11ef7a33f22dda7e.jpg","text":"TemporaryFile(/tmp/multipartBody6431670132508234862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964602888,"filename":"image_06042025_08_36_13_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183241","file1":"1350183237","file0":"1350183231","file4":"1350183248","file5":"1350183250","file3":"1350183245"},"map_files_photo_id_array":[{"photo_id":"1350183250","filename":"file5"},{"photo_id":"1350183241","filename":"file2"},{"photo_id":"1350183248","filename":"file4"},{"photo_id":"1350183237","filename":"file1"},{"photo_id":"1350183231","filename":"file0"},{"photo_id":"1350183245","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183245":["hashtag1","hashtag2"]},{"1350183248":["hashtag1","hashtag2"]},{"1350183250":["hashtag1","hashtag2"]},{"1350183241":["hashtag1","hashtag2"]},{"1350183237":["hashtag1","hashtag2"]},{"1350183231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183245, 1350183248, 1350183250, 1350183241, 1350183237, 1350183231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.552719831466675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:36:22.511990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_10_2664.jpg', '/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_14_3506.jpg', '/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_25_5801.jpg', '/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_34_3642.jpg', '/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_37_2726.jpg', '/home/pi/Desktop/images/06042025/08/38/image_06042025_08_38_16_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_10_2664.jpg
/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_14_3506.jpg
/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_25_5801.jpg
/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_34_3642.jpg
/home/pi/Desktop/images/06042025/08/37/image_06042025_08_37_37_2726.jpg
/home/pi/Desktop/images/06042025/08/38/image_06042025_08_38_16_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183284","1350183263","1350183260","1350183257","1350183280","1350183255"],"photo_ids_order":["1350183255","1350183257","1350183260","1350183263","1350183280","1350183284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8c995b57bc942e41c683b2955f886bf2.jpg","text":"TemporaryFile(/tmp/multipartBody3655526618891003768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964643203,"filename":"image_06042025_08_38_16_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3da88cee4fcd81556b30802fb25d914a.jpg","text":"TemporaryFile(/tmp/multipartBody2203336740622708909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964643203,"filename":"image_06042025_08_37_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/4/6/147ac8213a99505469be0af281e082ad.jpg","text":"TemporaryFile(/tmp/multipartBody4525711044790847651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964643203,"filename":"image_06042025_08_37_25_5801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5887156d709dbd47d6a37bf1c128b34f.jpg","text":"TemporaryFile(/tmp/multipartBody2195066951467401316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964643203,"filename":"image_06042025_08_37_14_3506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/67e1c613782c11e275cab11d10453a0b.jpg","text":"TemporaryFile(/tmp/multipartBody1914163995453962800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964643203,"filename":"image_06042025_08_37_37_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9785e541a90e8401ed706dd4960a060b.jpg","text":"TemporaryFile(/tmp/multipartBody8640930012364499118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964643203,"filename":"image_06042025_08_37_10_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183260","file1":"1350183257","file0":"1350183255","file4":"1350183280","file5":"1350183284","file3":"1350183263"},"map_files_photo_id_array":[{"photo_id":"1350183284","filename":"file5"},{"photo_id":"1350183260","filename":"file2"},{"photo_id":"1350183280","filename":"file4"},{"photo_id":"1350183257","filename":"file1"},{"photo_id":"1350183255","filename":"file0"},{"photo_id":"1350183263","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183284":["hashtag1","hashtag2"]},{"1350183263":["hashtag1","hashtag2"]},{"1350183260":["hashtag1","hashtag2"]},{"1350183257":["hashtag1","hashtag2"]},{"1350183280":["hashtag1","hashtag2"]},{"1350183255":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183284, 1350183263, 1350183260, 1350183257, 1350183280, 1350183255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22498798370361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:37:02.952584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/38/image_06042025_08_38_25_3612.jpg', '/home/pi/Desktop/images/06042025/08/38/image_06042025_08_38_40_2878.jpg', '/home/pi/Desktop/images/06042025/08/38/image_06042025_08_38_49_2681.jpg', '/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_21_3021.jpg', '/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_46_2756.jpg', '/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_55_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/38/image_06042025_08_38_25_3612.jpg
/home/pi/Desktop/images/06042025/08/38/image_06042025_08_38_40_2878.jpg
/home/pi/Desktop/images/06042025/08/38/image_06042025_08_38_49_2681.jpg
/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_21_3021.jpg
/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_46_2756.jpg
/home/pi/Desktop/images/06042025/08/39/image_06042025_08_39_55_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183293","1350183320","1350183316","1350183304","1350183315","1350183318"],"photo_ids_order":["1350183293","1350183304","1350183315","1350183316","1350183318","1350183320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/852e34775cbe3fbea7a0f09b33e4c8ab.jpg","text":"TemporaryFile(/tmp/multipartBody5870696672634144321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964683793,"filename":"image_06042025_08_38_25_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/06d70974173dbbda8245ee042a3a13d5.jpg","text":"TemporaryFile(/tmp/multipartBody4658180741598940938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964683793,"filename":"image_06042025_08_39_55_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cbe7e63d80caa0579f2be96ed693edf8.jpg","text":"TemporaryFile(/tmp/multipartBody4597886103229933418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964683793,"filename":"image_06042025_08_39_21_3021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/521c2a633f5558a7309244bf0c488923.jpg","text":"TemporaryFile(/tmp/multipartBody4893992423889618433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964683793,"filename":"image_06042025_08_38_40_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/573cca523df2f514f7eb59879f392eb6.jpg","text":"TemporaryFile(/tmp/multipartBody7205537187433002954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964683793,"filename":"image_06042025_08_38_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/4/6/b27b73b385d6a562192194386d6f37ba.jpg","text":"TemporaryFile(/tmp/multipartBody8779609836877849411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964683793,"filename":"image_06042025_08_39_46_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183315","file1":"1350183304","file0":"1350183293","file4":"1350183318","file5":"1350183320","file3":"1350183316"},"map_files_photo_id_array":[{"photo_id":"1350183320","filename":"file5"},{"photo_id":"1350183315","filename":"file2"},{"photo_id":"1350183318","filename":"file4"},{"photo_id":"1350183304","filename":"file1"},{"photo_id":"1350183293","filename":"file0"},{"photo_id":"1350183316","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183293":["hashtag1","hashtag2"]},{"1350183320":["hashtag1","hashtag2"]},{"1350183316":["hashtag1","hashtag2"]},{"1350183304":["hashtag1","hashtag2"]},{"1350183315":["hashtag1","hashtag2"]},{"1350183318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183293, 1350183320, 1350183316, 1350183304, 1350183315, 1350183318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04324507713318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:37:42.034411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_13_3613.jpg', '/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_16_2592.jpg', '/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_27_2674.jpg', '/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_45_2769.jpg', '/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_48_2745.jpg', '/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_52_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_13_3613.jpg
/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_16_2592.jpg
/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_27_2674.jpg
/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_45_2769.jpg
/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_48_2745.jpg
/home/pi/Desktop/images/06042025/08/40/image_06042025_08_40_52_3688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183327","1350183367","1350183364","1350183331","1350183340","1350183336"],"photo_ids_order":["1350183327","1350183331","1350183336","1350183340","1350183364","1350183367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/672aa7d1fff25a6ec2e4d15f6abbc1e0.jpg","text":"TemporaryFile(/tmp/multipartBody2022015503531260647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964722725,"filename":"image_06042025_08_40_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/4/6/5e3351f27189b0cd4b0328951b4e9d24.jpg","text":"TemporaryFile(/tmp/multipartBody5660255064111431530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964722725,"filename":"image_06042025_08_40_52_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fb32245d303c605f05cc1c1d056e0818.jpg","text":"TemporaryFile(/tmp/multipartBody6842795635130515577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964722725,"filename":"image_06042025_08_40_48_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/994a1696020affdfa141eb0467f01f0a.jpg","text":"TemporaryFile(/tmp/multipartBody2234912648551894126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964722725,"filename":"image_06042025_08_40_16_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4129d1a4880a208abf1f48e6ffa8c828.jpg","text":"TemporaryFile(/tmp/multipartBody6234845637338560689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964722725,"filename":"image_06042025_08_40_45_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7c2389f554296f4228b80b396a89254b.jpg","text":"TemporaryFile(/tmp/multipartBody4942502563339679380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964722725,"filename":"image_06042025_08_40_27_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183336","file1":"1350183331","file0":"1350183327","file4":"1350183364","file5":"1350183367","file3":"1350183340"},"map_files_photo_id_array":[{"photo_id":"1350183367","filename":"file5"},{"photo_id":"1350183336","filename":"file2"},{"photo_id":"1350183364","filename":"file4"},{"photo_id":"1350183331","filename":"file1"},{"photo_id":"1350183327","filename":"file0"},{"photo_id":"1350183340","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183327":["hashtag1","hashtag2"]},{"1350183367":["hashtag1","hashtag2"]},{"1350183364":["hashtag1","hashtag2"]},{"1350183331":["hashtag1","hashtag2"]},{"1350183340":["hashtag1","hashtag2"]},{"1350183336":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183327, 1350183367, 1350183364, 1350183331, 1350183340, 1350183336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44193506240845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:38:22.252133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_10_3808.jpg', '/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_19_3761.jpg', '/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_22_2687.jpg', '/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_24_2669.jpg', '/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_37_3482.jpg', '/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_42_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_10_3808.jpg
/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_19_3761.jpg
/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_22_2687.jpg
/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_24_2669.jpg
/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_37_3482.jpg
/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_42_2603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183443","1350183440","1350183419","1350183448","1350183433","1350183415"],"photo_ids_order":["1350183415","1350183419","1350183433","1350183440","1350183443","1350183448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b2895e3c057c05ec01d079e04ecc97ca.jpg","text":"TemporaryFile(/tmp/multipartBody4297884793990528245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964762947,"filename":"image_06042025_08_41_37_3482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c51d948080f0f626ecb46b4f1bb60a1d.jpg","text":"TemporaryFile(/tmp/multipartBody7961946421644000340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964762947,"filename":"image_06042025_08_41_24_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c96077145ae24ca126422fb0d9360377.jpg","text":"TemporaryFile(/tmp/multipartBody1218501954832517551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964762947,"filename":"image_06042025_08_41_19_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d683a0b0c3310000712db66f494e91f2.jpg","text":"TemporaryFile(/tmp/multipartBody6563179953663142718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964762947,"filename":"image_06042025_08_41_42_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c6cae4582db6c02c6d3e23859298ce14.jpg","text":"TemporaryFile(/tmp/multipartBody53169412234817388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964762947,"filename":"image_06042025_08_41_22_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/693a5e925140afba9a2cd4b1ab0c96af.jpg","text":"TemporaryFile(/tmp/multipartBody1245671319909630704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964762947,"filename":"image_06042025_08_41_10_3808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183433","file1":"1350183419","file0":"1350183415","file4":"1350183443","file5":"1350183448","file3":"1350183440"},"map_files_photo_id_array":[{"photo_id":"1350183448","filename":"file5"},{"photo_id":"1350183433","filename":"file2"},{"photo_id":"1350183443","filename":"file4"},{"photo_id":"1350183419","filename":"file1"},{"photo_id":"1350183415","filename":"file0"},{"photo_id":"1350183440","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183443":["hashtag1","hashtag2"]},{"1350183440":["hashtag1","hashtag2"]},{"1350183419":["hashtag1","hashtag2"]},{"1350183448":["hashtag1","hashtag2"]},{"1350183433":["hashtag1","hashtag2"]},{"1350183415":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183443, 1350183440, 1350183419, 1350183448, 1350183433, 1350183415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75132918357849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:39:03.893385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_54_2807.jpg', '/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_03_2588.jpg', '/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_07_3630.jpg', '/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_09_2791.jpg', '/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_30_2681.jpg', '/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_03_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/41/image_06042025_08_41_54_2807.jpg
/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_03_2588.jpg
/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_07_3630.jpg
/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_09_2791.jpg
/home/pi/Desktop/images/06042025/08/42/image_06042025_08_42_30_2681.jpg
/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_03_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183680","1350183683","1350183635","1350183685","1350183637","1350183639"],"photo_ids_order":["1350183635","1350183637","1350183639","1350183680","1350183683","1350183685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/497b8a5382efa1ddafd566ec3001762f.jpg","text":"TemporaryFile(/tmp/multipartBody1675947502809123750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964804898,"filename":"image_06042025_08_42_09_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5bd9f6467d273d54ec188ecacf3f2fe7.jpg","text":"TemporaryFile(/tmp/multipartBody1842650944484103993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964804898,"filename":"image_06042025_08_42_30_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3cc4438790c11e9d323926c5578df85f.jpg","text":"TemporaryFile(/tmp/multipartBody6751543404686459536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964804898,"filename":"image_06042025_08_41_54_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/11156b448787c9366105f76ec13c5333.jpg","text":"TemporaryFile(/tmp/multipartBody8900067109647998896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964804898,"filename":"image_06042025_08_43_03_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6fe377a5b052958bcfd7765845e3b68b.jpg","text":"TemporaryFile(/tmp/multipartBody3797012781233294557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964804898,"filename":"image_06042025_08_42_03_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/130f1ad203490461da8a7504221e9870.jpg","text":"TemporaryFile(/tmp/multipartBody7965034146368704280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964804898,"filename":"image_06042025_08_42_07_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183639","file1":"1350183637","file0":"1350183635","file4":"1350183683","file5":"1350183685","file3":"1350183680"},"map_files_photo_id_array":[{"photo_id":"1350183685","filename":"file5"},{"photo_id":"1350183639","filename":"file2"},{"photo_id":"1350183683","filename":"file4"},{"photo_id":"1350183637","filename":"file1"},{"photo_id":"1350183635","filename":"file0"},{"photo_id":"1350183680","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183680":["hashtag1","hashtag2"]},{"1350183683":["hashtag1","hashtag2"]},{"1350183635":["hashtag1","hashtag2"]},{"1350183685":["hashtag1","hashtag2"]},{"1350183637":["hashtag1","hashtag2"]},{"1350183639":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183680, 1350183683, 1350183635, 1350183685, 1350183637, 1350183639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36634850502014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:39:42.751486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_19_3434.jpg', '/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_21_2714.jpg', '/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_45_4319.jpg', '/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_47_1608.jpg', '/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_50_1482.jpg', '/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_53_1622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_19_3434.jpg
/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_21_2714.jpg
/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_45_4319.jpg
/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_47_1608.jpg
/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_50_1482.jpg
/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_53_1622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183710","1350183715","1350183718","1350183699","1350183714","1350183708"],"photo_ids_order":["1350183699","1350183708","1350183710","1350183714","1350183715","1350183718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/07acb2361fe99d14d7a1905e4ae0aa59.jpg","text":"TemporaryFile(/tmp/multipartBody7437068530650682040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964843467,"filename":"image_06042025_08_43_45_4319.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/29d00adfd5d31265e120bc36f8d8e6de.jpg","text":"TemporaryFile(/tmp/multipartBody5046580196919303549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964843467,"filename":"image_06042025_08_43_50_1482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ac31b896cbd3c57b4f4bb97dad665fb4.jpg","text":"TemporaryFile(/tmp/multipartBody960001906206598339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964843467,"filename":"image_06042025_08_43_53_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ad5054b61c7c19807d165d3f3b3f61d9.jpg","text":"TemporaryFile(/tmp/multipartBody5021695125807641171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964843467,"filename":"image_06042025_08_43_19_3434.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/88c0ef0c29fcd7c7c72d04fc70d4519a.jpg","text":"TemporaryFile(/tmp/multipartBody3268940598526153800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964843467,"filename":"image_06042025_08_43_47_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d9e85c541e2db8077aa7bd8cd2325a16.jpg","text":"TemporaryFile(/tmp/multipartBody1530892737939047541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964843467,"filename":"image_06042025_08_43_21_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183710","file1":"1350183708","file0":"1350183699","file4":"1350183715","file5":"1350183718","file3":"1350183714"},"map_files_photo_id_array":[{"photo_id":"1350183718","filename":"file5"},{"photo_id":"1350183710","filename":"file2"},{"photo_id":"1350183715","filename":"file4"},{"photo_id":"1350183708","filename":"file1"},{"photo_id":"1350183699","filename":"file0"},{"photo_id":"1350183714","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183710":["hashtag1","hashtag2"]},{"1350183715":["hashtag1","hashtag2"]},{"1350183718":["hashtag1","hashtag2"]},{"1350183699":["hashtag1","hashtag2"]},{"1350183714":["hashtag1","hashtag2"]},{"1350183708":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183710, 1350183715, 1350183718, 1350183699, 1350183714, 1350183708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15699219703674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:40:22.773024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_57_1542.jpg', '/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_12_2649.jpg', '/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_21_3596.jpg', '/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_27_5205.jpg', '/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_30_1761.jpg', '/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_33_2832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/43/image_06042025_08_43_57_1542.jpg
/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_12_2649.jpg
/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_21_3596.jpg
/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_27_5205.jpg
/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_30_1761.jpg
/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_33_2832.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183788","1350183737","1350183728","1350183793","1350183751","1350183747"],"photo_ids_order":["1350183728","1350183737","1350183747","1350183751","1350183788","1350183793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a2e809fb4cb13dbe61de03cdc2a78242.jpg","text":"TemporaryFile(/tmp/multipartBody9058912287969564793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964883462,"filename":"image_06042025_08_44_30_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e8ffeec9b6be3d57a13819a87d2d9131.jpg","text":"TemporaryFile(/tmp/multipartBody370546839301679345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964883462,"filename":"image_06042025_08_44_12_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b1e39d0d847dd02a615bd8d7c9ddd9cf.jpg","text":"TemporaryFile(/tmp/multipartBody3163935536561761560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964883462,"filename":"image_06042025_08_43_57_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/604eaf21a582dbb41f30206ad49b93f6.jpg","text":"TemporaryFile(/tmp/multipartBody2055916763873028177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964883462,"filename":"image_06042025_08_44_33_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cdf8fc14b2a9a033609a4b8ea932256f.jpg","text":"TemporaryFile(/tmp/multipartBody9103241330387633692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964883462,"filename":"image_06042025_08_44_27_5205.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b0df7c46188f9aea1c9998476f9ad998.jpg","text":"TemporaryFile(/tmp/multipartBody2460516417643387319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964883462,"filename":"image_06042025_08_44_21_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183747","file1":"1350183737","file0":"1350183728","file4":"1350183788","file5":"1350183793","file3":"1350183751"},"map_files_photo_id_array":[{"photo_id":"1350183793","filename":"file5"},{"photo_id":"1350183747","filename":"file2"},{"photo_id":"1350183788","filename":"file4"},{"photo_id":"1350183737","filename":"file1"},{"photo_id":"1350183728","filename":"file0"},{"photo_id":"1350183751","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183788":["hashtag1","hashtag2"]},{"1350183737":["hashtag1","hashtag2"]},{"1350183728":["hashtag1","hashtag2"]},{"1350183793":["hashtag1","hashtag2"]},{"1350183751":["hashtag1","hashtag2"]},{"1350183747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183788, 1350183737, 1350183728, 1350183793, 1350183751, 1350183747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.031856536865234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:41:03.263555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_36_3562.jpg', '/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_39_2792.jpg', '/home/pi/Desktop/images/06042025/08/46/image_06042025_08_46_24_3679.jpg', '/home/pi/Desktop/images/06042025/08/46/image_06042025_08_46_42_3746.jpg', '/home/pi/Desktop/images/06042025/08/46/image_06042025_08_46_45_2691.jpg', '/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_12_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_36_3562.jpg
/home/pi/Desktop/images/06042025/08/44/image_06042025_08_44_39_2792.jpg
/home/pi/Desktop/images/06042025/08/46/image_06042025_08_46_24_3679.jpg
/home/pi/Desktop/images/06042025/08/46/image_06042025_08_46_42_3746.jpg
/home/pi/Desktop/images/06042025/08/46/image_06042025_08_46_45_2691.jpg
/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_12_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183821","1350183812","1350183847","1350183808","1350183811","1350183837"],"photo_ids_order":["1350183808","1350183811","1350183812","1350183821","1350183837","1350183847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1ae2a6961a6fc9b2a8eea1fe295b7ee6.jpg","text":"TemporaryFile(/tmp/multipartBody6033064675087238605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964924092,"filename":"image_06042025_08_46_42_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/61980076a106a2dfd91d67dde250df26.jpg","text":"TemporaryFile(/tmp/multipartBody5232261090366559806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964924092,"filename":"image_06042025_08_46_24_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ac6fb1373a70af0eed4489ce5c157374.jpg","text":"TemporaryFile(/tmp/multipartBody5330017080869500610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964924092,"filename":"image_06042025_08_47_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/4/6/d533562de226a4ec0332a999decf8d0c.jpg","text":"TemporaryFile(/tmp/multipartBody7762185713783770599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964924092,"filename":"image_06042025_08_44_36_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/72c8101b6c39dd38fd69f9fa0d6c56fa.jpg","text":"TemporaryFile(/tmp/multipartBody3338286032038575658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964924092,"filename":"image_06042025_08_44_39_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0d6f6d884bdca7432b82f67a256ec64b.jpg","text":"TemporaryFile(/tmp/multipartBody3566873186866110387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964924092,"filename":"image_06042025_08_46_45_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183812","file1":"1350183811","file0":"1350183808","file4":"1350183837","file5":"1350183847","file3":"1350183821"},"map_files_photo_id_array":[{"photo_id":"1350183847","filename":"file5"},{"photo_id":"1350183812","filename":"file2"},{"photo_id":"1350183837","filename":"file4"},{"photo_id":"1350183811","filename":"file1"},{"photo_id":"1350183808","filename":"file0"},{"photo_id":"1350183821","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183821":["hashtag1","hashtag2"]},{"1350183812":["hashtag1","hashtag2"]},{"1350183847":["hashtag1","hashtag2"]},{"1350183808":["hashtag1","hashtag2"]},{"1350183811":["hashtag1","hashtag2"]},{"1350183837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183821, 1350183812, 1350183847, 1350183808, 1350183811, 1350183837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18588209152222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:41:42.374240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_30_3553.jpg', '/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_45_9406.jpg', '/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_48_1818.jpg', '/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_52_1539.jpg', '/home/pi/Desktop/images/06042025/08/48/image_06042025_08_48_21_3864.jpg', '/home/pi/Desktop/images/06042025/08/48/image_06042025_08_48_24_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_30_3553.jpg
/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_45_9406.jpg
/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_48_1818.jpg
/home/pi/Desktop/images/06042025/08/47/image_06042025_08_47_52_1539.jpg
/home/pi/Desktop/images/06042025/08/48/image_06042025_08_48_21_3864.jpg
/home/pi/Desktop/images/06042025/08/48/image_06042025_08_48_24_2608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183884","1350183878","1350183887","1350183881","1350183889","1350183886"],"photo_ids_order":["1350183878","1350183881","1350183884","1350183886","1350183887","1350183889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4f6fd4cc1d17e3ea3d59d93b8162f0c4.jpg","text":"TemporaryFile(/tmp/multipartBody585227349555207721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964963067,"filename":"image_06042025_08_47_48_1818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/78ffe79f140a5c19b996e2a422a9c011.jpg","text":"TemporaryFile(/tmp/multipartBody9074255591764789590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964963067,"filename":"image_06042025_08_47_30_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e795d76988ac2d09b703c554b8d71a58.jpg","text":"TemporaryFile(/tmp/multipartBody7978250072718032008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964963067,"filename":"image_06042025_08_48_21_3864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0bf14f5409e8f3bba6ba14771e7f6b09.jpg","text":"TemporaryFile(/tmp/multipartBody8820343180747689678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964963067,"filename":"image_06042025_08_47_45_9406.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/403d225ce12643f36bf9c1fc8790947d.jpg","text":"TemporaryFile(/tmp/multipartBody3768140459254601903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964963067,"filename":"image_06042025_08_48_24_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cf26802e0ad4e208f2296a485ce49603.jpg","text":"TemporaryFile(/tmp/multipartBody8156876877614111687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743964963067,"filename":"image_06042025_08_47_52_1539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183884","file1":"1350183881","file0":"1350183878","file4":"1350183887","file5":"1350183889","file3":"1350183886"},"map_files_photo_id_array":[{"photo_id":"1350183889","filename":"file5"},{"photo_id":"1350183884","filename":"file2"},{"photo_id":"1350183887","filename":"file4"},{"photo_id":"1350183881","filename":"file1"},{"photo_id":"1350183878","filename":"file0"},{"photo_id":"1350183886","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183884":["hashtag1","hashtag2"]},{"1350183878":["hashtag1","hashtag2"]},{"1350183887":["hashtag1","hashtag2"]},{"1350183881":["hashtag1","hashtag2"]},{"1350183889":["hashtag1","hashtag2"]},{"1350183886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183884, 1350183878, 1350183887, 1350183881, 1350183889, 1350183886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11538338661194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:42:21.965371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/48/image_06042025_08_49_00_2820.jpg', '/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_06_3640.jpg', '/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_15_3640.jpg', '/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_18_2772.jpg', '/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_21_2859.jpg', '/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_30_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/48/image_06042025_08_49_00_2820.jpg
/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_06_3640.jpg
/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_15_3640.jpg
/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_18_2772.jpg
/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_21_2859.jpg
/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_30_3728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183915","1350183911","1350183925","1350183901","1350183904","1350183918"],"photo_ids_order":["1350183901","1350183904","1350183911","1350183915","1350183918","1350183925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ed3cad89e5ca061b9c5bab075c1542ab.jpg","text":"TemporaryFile(/tmp/multipartBody6284210319742655271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965002733,"filename":"image_06042025_08_49_18_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/423f9b50969135d5de0c2ab31292d7b1.jpg","text":"TemporaryFile(/tmp/multipartBody4818629293034654814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965002733,"filename":"image_06042025_08_49_15_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/04c12ba963a6af36243686b75021d91f.jpg","text":"TemporaryFile(/tmp/multipartBody1976938608934052623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965002733,"filename":"image_06042025_08_49_30_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8e9ba21f0cf7d13b0efc9a620cfb86fd.jpg","text":"TemporaryFile(/tmp/multipartBody2785111918645096748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965002733,"filename":"image_06042025_08_49_00_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/67b5b792727d15dd8d383a1853286b27.jpg","text":"TemporaryFile(/tmp/multipartBody8073603972698781584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965002733,"filename":"image_06042025_08_49_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/4/6/d3af606a349de4590ea5f412850b9b5a.jpg","text":"TemporaryFile(/tmp/multipartBody5578474873916349075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965002733,"filename":"image_06042025_08_49_21_2859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183911","file1":"1350183904","file0":"1350183901","file4":"1350183918","file5":"1350183925","file3":"1350183915"},"map_files_photo_id_array":[{"photo_id":"1350183925","filename":"file5"},{"photo_id":"1350183911","filename":"file2"},{"photo_id":"1350183918","filename":"file4"},{"photo_id":"1350183904","filename":"file1"},{"photo_id":"1350183901","filename":"file0"},{"photo_id":"1350183915","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183915":["hashtag1","hashtag2"]},{"1350183911":["hashtag1","hashtag2"]},{"1350183925":["hashtag1","hashtag2"]},{"1350183901":["hashtag1","hashtag2"]},{"1350183904":["hashtag1","hashtag2"]},{"1350183918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183915, 1350183911, 1350183925, 1350183901, 1350183904, 1350183918)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.28298330307007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:43:22.730425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_33_2708.jpg', '/home/pi/Desktop/images/06042025/08/49/image_06042025_08_50_00_3691.jpg', '/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_03_2766.jpg', '/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_24_2763.jpg', '/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_26_2689.jpg', '/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_36_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/49/image_06042025_08_49_33_2708.jpg
/home/pi/Desktop/images/06042025/08/49/image_06042025_08_50_00_3691.jpg
/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_03_2766.jpg
/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_24_2763.jpg
/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_26_2689.jpg
/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_36_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350183965","1350183935","1350183940","1350183951","1350183945","1350183939"],"photo_ids_order":["1350183935","1350183939","1350183940","1350183945","1350183951","1350183965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/581dc0d022575b9f67c41578054f5f1f.jpg","text":"TemporaryFile(/tmp/multipartBody7791610780393204958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965063429,"filename":"image_06042025_08_50_36_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bc473c3299e8bf82c1d59d0f20e41272.jpg","text":"TemporaryFile(/tmp/multipartBody7679726374616505655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965063429,"filename":"image_06042025_08_49_33_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0cbe6f16f6ea9c294543ddb4c642f110.jpg","text":"TemporaryFile(/tmp/multipartBody4096982100672057570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965063429,"filename":"image_06042025_08_50_03_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ed6ee4825e811a38201b5ccd4b658907.jpg","text":"TemporaryFile(/tmp/multipartBody3106711651984391857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965063429,"filename":"image_06042025_08_50_26_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/dc95d103ced3e89c5088382756b28cae.jpg","text":"TemporaryFile(/tmp/multipartBody881236604206497853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965063429,"filename":"image_06042025_08_50_24_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3151bb98bf523e20804ac88782e32968.jpg","text":"TemporaryFile(/tmp/multipartBody355851318253602238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965063429,"filename":"image_06042025_08_50_00_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183940","file1":"1350183939","file0":"1350183935","file4":"1350183951","file5":"1350183965","file3":"1350183945"},"map_files_photo_id_array":[{"photo_id":"1350183965","filename":"file5"},{"photo_id":"1350183940","filename":"file2"},{"photo_id":"1350183951","filename":"file4"},{"photo_id":"1350183939","filename":"file1"},{"photo_id":"1350183935","filename":"file0"},{"photo_id":"1350183945","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350183965":["hashtag1","hashtag2"]},{"1350183935":["hashtag1","hashtag2"]},{"1350183940":["hashtag1","hashtag2"]},{"1350183951":["hashtag1","hashtag2"]},{"1350183945":["hashtag1","hashtag2"]},{"1350183939":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350183965, 1350183935, 1350183940, 1350183951, 1350183945, 1350183939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52600908279419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:44:03.565663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_45_3656.jpg', '/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_38_2598.jpg', '/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_41_2801.jpg', '/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_45_3596.jpg', '/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_48_2811.jpg', '/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_57_3815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/50/image_06042025_08_50_45_3656.jpg
/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_38_2598.jpg
/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_41_2801.jpg
/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_45_3596.jpg
/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_48_2811.jpg
/home/pi/Desktop/images/06042025/08/51/image_06042025_08_51_57_3815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184013","1350183994","1350183982","1350183999","1350183990","1350183975"],"photo_ids_order":["1350183975","1350183982","1350183990","1350183994","1350183999","1350184013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fb950f929474ec6cc1d0dba8abf55904.jpg","text":"TemporaryFile(/tmp/multipartBody47840572116694887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965104476,"filename":"image_06042025_08_51_57_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6d606e48fcefc25bb60348d0918239f8.jpg","text":"TemporaryFile(/tmp/multipartBody1053464225348923914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965104476,"filename":"image_06042025_08_51_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/4/6/955ab0a28c68b7522d97f439bb95e19f.jpg","text":"TemporaryFile(/tmp/multipartBody8394932369197658657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965104476,"filename":"image_06042025_08_51_38_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c83b263a7ea3e2d740a8774373338ed0.jpg","text":"TemporaryFile(/tmp/multipartBody7836944088930543247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965104476,"filename":"image_06042025_08_51_48_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/59810cdfdec4351c9a4b8908f6f6be5d.jpg","text":"TemporaryFile(/tmp/multipartBody5998710894124067263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965104476,"filename":"image_06042025_08_51_41_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e9f06616a1b7fd9e70673e6b22e7dcd0.jpg","text":"TemporaryFile(/tmp/multipartBody2578759716985954586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965104476,"filename":"image_06042025_08_50_45_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350183990","file1":"1350183982","file0":"1350183975","file4":"1350183999","file5":"1350184013","file3":"1350183994"},"map_files_photo_id_array":[{"photo_id":"1350184013","filename":"file5"},{"photo_id":"1350183990","filename":"file2"},{"photo_id":"1350183999","filename":"file4"},{"photo_id":"1350183982","filename":"file1"},{"photo_id":"1350183975","filename":"file0"},{"photo_id":"1350183994","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184013":["hashtag1","hashtag2"]},{"1350183994":["hashtag1","hashtag2"]},{"1350183982":["hashtag1","hashtag2"]},{"1350183999":["hashtag1","hashtag2"]},{"1350183990":["hashtag1","hashtag2"]},{"1350183975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184013, 1350183994, 1350183982, 1350183999, 1350183990, 1350183975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40252375602722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:45:03.513039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_02_2652.jpg', '/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_15_2686.jpg', '/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_20_2751.jpg', '/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_29_2623.jpg', '/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_36_2794.jpg', '/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_41_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_02_2652.jpg
/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_15_2686.jpg
/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_20_2751.jpg
/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_29_2623.jpg
/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_36_2794.jpg
/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_41_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184046","1350184048","1350184053","1350184041","1350184050","1350184044"],"photo_ids_order":["1350184041","1350184044","1350184046","1350184048","1350184050","1350184053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e990913d795c13d4d24489d591881b9e.jpg","text":"TemporaryFile(/tmp/multipartBody2292105538165613525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965164372,"filename":"image_06042025_08_52_20_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/649d16e03ca9f04d83b35a77c2a5bf06.jpg","text":"TemporaryFile(/tmp/multipartBody3152682636141179208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965164372,"filename":"image_06042025_08_52_29_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2212d9a11bb7a0413920c67850c110c7.jpg","text":"TemporaryFile(/tmp/multipartBody8019309895777357618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965164372,"filename":"image_06042025_08_52_41_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c237c6879511a21c7a00b62414af55f4.jpg","text":"TemporaryFile(/tmp/multipartBody7223781059080617310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965164372,"filename":"image_06042025_08_52_02_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/005ff2112d161f9b093e492666f1c0b7.jpg","text":"TemporaryFile(/tmp/multipartBody6845143090929549959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965164372,"filename":"image_06042025_08_52_36_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cde1fd6dd55cdf53ad522e5339351f55.jpg","text":"TemporaryFile(/tmp/multipartBody8438462811070348646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965164372,"filename":"image_06042025_08_52_15_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184046","file1":"1350184044","file0":"1350184041","file4":"1350184050","file5":"1350184053","file3":"1350184048"},"map_files_photo_id_array":[{"photo_id":"1350184053","filename":"file5"},{"photo_id":"1350184046","filename":"file2"},{"photo_id":"1350184050","filename":"file4"},{"photo_id":"1350184044","filename":"file1"},{"photo_id":"1350184041","filename":"file0"},{"photo_id":"1350184048","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184046":["hashtag1","hashtag2"]},{"1350184048":["hashtag1","hashtag2"]},{"1350184053":["hashtag1","hashtag2"]},{"1350184041":["hashtag1","hashtag2"]},{"1350184050":["hashtag1","hashtag2"]},{"1350184044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184046, 1350184048, 1350184053, 1350184041, 1350184050, 1350184044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78262138366699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:45:42.886255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_44_2655.jpg', '/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_47_3642.jpg', '/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_08_2719.jpg', '/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_11_2583.jpg', '/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_18_3736.jpg', '/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_38_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_44_2655.jpg
/home/pi/Desktop/images/06042025/08/52/image_06042025_08_52_47_3642.jpg
/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_08_2719.jpg
/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_11_2583.jpg
/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_18_3736.jpg
/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_38_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184061","1350184066","1350184071","1350184068","1350184079","1350184064"],"photo_ids_order":["1350184061","1350184064","1350184066","1350184068","1350184071","1350184079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ed4d4fdeab0ad10452866bdb304eb755.jpg","text":"TemporaryFile(/tmp/multipartBody9213294755301275207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965203603,"filename":"image_06042025_08_52_44_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0ac800fc4a44dd285fef34ed6bad63ff.jpg","text":"TemporaryFile(/tmp/multipartBody1491805902840006715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965203603,"filename":"image_06042025_08_53_08_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/31a17b123f2262ff3fb29135f799c96a.jpg","text":"TemporaryFile(/tmp/multipartBody653266994220366694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965203603,"filename":"image_06042025_08_53_18_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/82c18f9324287108d88da658831765ab.jpg","text":"TemporaryFile(/tmp/multipartBody2556231307137870592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965203603,"filename":"image_06042025_08_53_11_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/26c2832a21eed84a005aa2683d9c77c6.jpg","text":"TemporaryFile(/tmp/multipartBody6358937086549716789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965203603,"filename":"image_06042025_08_53_38_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5e71f6a45340cba863a75281428adb6a.jpg","text":"TemporaryFile(/tmp/multipartBody5217484578333780344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965203603,"filename":"image_06042025_08_52_47_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184066","file1":"1350184064","file0":"1350184061","file4":"1350184071","file5":"1350184079","file3":"1350184068"},"map_files_photo_id_array":[{"photo_id":"1350184079","filename":"file5"},{"photo_id":"1350184066","filename":"file2"},{"photo_id":"1350184071","filename":"file4"},{"photo_id":"1350184064","filename":"file1"},{"photo_id":"1350184061","filename":"file0"},{"photo_id":"1350184068","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184061":["hashtag1","hashtag2"]},{"1350184066":["hashtag1","hashtag2"]},{"1350184071":["hashtag1","hashtag2"]},{"1350184068":["hashtag1","hashtag2"]},{"1350184079":["hashtag1","hashtag2"]},{"1350184064":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184061, 1350184066, 1350184071, 1350184068, 1350184079, 1350184064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.860615730285645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:46:22.230728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_41_2669.jpg', '/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_47_2741.jpg', '/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_50_2669.jpg', '/home/pi/Desktop/images/06042025/08/54/image_06042025_08_54_02_3643.jpg', '/home/pi/Desktop/images/06042025/08/54/image_06042025_08_54_45_3648.jpg', '/home/pi/Desktop/images/06042025/08/54/image_06042025_08_54_47_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_41_2669.jpg
/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_47_2741.jpg
/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_50_2669.jpg
/home/pi/Desktop/images/06042025/08/54/image_06042025_08_54_02_3643.jpg
/home/pi/Desktop/images/06042025/08/54/image_06042025_08_54_45_3648.jpg
/home/pi/Desktop/images/06042025/08/54/image_06042025_08_54_47_2795.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7194356918334961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:46:42.208230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_41_2669.jpg', '/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_47_2741.jpg', '/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_50_2669.jpg', '/home/pi/Desktop/images/06042025/08/54/image_06042025_08_54_02_3643.jpg', '/home/pi/Desktop/images/06042025/08/54/image_06042025_08_54_45_3648.jpg', '/home/pi/Desktop/images/06042025/08/54/image_06042025_08_54_47_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_41_2669.jpg
/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_47_2741.jpg
/home/pi/Desktop/images/06042025/08/53/image_06042025_08_53_50_2669.jpg
/home/pi/Desktop/images/06042025/08/54/image_06042025_08_54_02_3643.jpg
/home/pi/Desktop/images/06042025/08/54/image_06042025_08_54_45_3648.jpg
/home/pi/Desktop/images/06042025/08/54/image_06042025_08_54_47_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184156","1350184141","1350184144","1350184147","1350184152","1350184163"],"photo_ids_order":["1350184141","1350184144","1350184147","1350184152","1350184156","1350184163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4d30c8af52340ccab1427b13059c0523.jpg","text":"TemporaryFile(/tmp/multipartBody8052970408384473181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965262903,"filename":"image_06042025_08_54_45_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a26a908607cb24878f244a4c6dc87e53.jpg","text":"TemporaryFile(/tmp/multipartBody988547251769430694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965262903,"filename":"image_06042025_08_53_41_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5b7faf273397d357299477332a34d0da.jpg","text":"TemporaryFile(/tmp/multipartBody7204711547058615085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965262903,"filename":"image_06042025_08_53_47_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/137dab5fa9e708c7f6cb483871ce95e2.jpg","text":"TemporaryFile(/tmp/multipartBody1061123379056561876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965262903,"filename":"image_06042025_08_53_50_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fa5e96cef49cb5cae656a21c0b5f3cf1.jpg","text":"TemporaryFile(/tmp/multipartBody1613927072973595915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965262903,"filename":"image_06042025_08_54_02_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e33c0f8fdbd87e7a4d986e7aadef02ec.jpg","text":"TemporaryFile(/tmp/multipartBody5754537550899420035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965262903,"filename":"image_06042025_08_54_47_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184147","file1":"1350184144","file0":"1350184141","file4":"1350184156","file5":"1350184163","file3":"1350184152"},"map_files_photo_id_array":[{"photo_id":"1350184163","filename":"file5"},{"photo_id":"1350184147","filename":"file2"},{"photo_id":"1350184156","filename":"file4"},{"photo_id":"1350184144","filename":"file1"},{"photo_id":"1350184141","filename":"file0"},{"photo_id":"1350184152","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184156":["hashtag1","hashtag2"]},{"1350184141":["hashtag1","hashtag2"]},{"1350184144":["hashtag1","hashtag2"]},{"1350184147":["hashtag1","hashtag2"]},{"1350184152":["hashtag1","hashtag2"]},{"1350184163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184156, 1350184141, 1350184144, 1350184147, 1350184152, 1350184163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.008540391922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:47:22.735093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/55/image_06042025_08_55_08_2715.jpg', '/home/pi/Desktop/images/06042025/08/55/image_06042025_08_55_14_3876.jpg', '/home/pi/Desktop/images/06042025/08/55/image_06042025_08_55_47_2797.jpg', '/home/pi/Desktop/images/06042025/08/55/image_06042025_08_55_53_2637.jpg', '/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_16_2866.jpg', '/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_20_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/55/image_06042025_08_55_08_2715.jpg
/home/pi/Desktop/images/06042025/08/55/image_06042025_08_55_14_3876.jpg
/home/pi/Desktop/images/06042025/08/55/image_06042025_08_55_47_2797.jpg
/home/pi/Desktop/images/06042025/08/55/image_06042025_08_55_53_2637.jpg
/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_16_2866.jpg
/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_20_3614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184172","1350184186","1350184183","1350184179","1350184176","1350184169"],"photo_ids_order":["1350184169","1350184172","1350184176","1350184179","1350184183","1350184186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b3623dfb41171366f23ec486901b7156.jpg","text":"TemporaryFile(/tmp/multipartBody1050844998483469008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965303435,"filename":"image_06042025_08_55_14_3876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0adc536c5bd77609ca05350afcb49218.jpg","text":"TemporaryFile(/tmp/multipartBody8014409090090709975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965303435,"filename":"image_06042025_08_57_20_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7b8dd446098ba457197322ca06fa6fbd.jpg","text":"TemporaryFile(/tmp/multipartBody2876808056773540978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965303435,"filename":"image_06042025_08_57_16_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/576a31bbede2087ad690715ae89d2f38.jpg","text":"TemporaryFile(/tmp/multipartBody7028940584988205831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965303435,"filename":"image_06042025_08_55_53_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/87adadd165e89488d775e4f2266552f7.jpg","text":"TemporaryFile(/tmp/multipartBody214128117934702295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965303435,"filename":"image_06042025_08_55_47_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2531d484248dfb8e6b55c6419797fe1a.jpg","text":"TemporaryFile(/tmp/multipartBody1608584481416715953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965303435,"filename":"image_06042025_08_55_08_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184176","file1":"1350184172","file0":"1350184169","file4":"1350184183","file5":"1350184186","file3":"1350184179"},"map_files_photo_id_array":[{"photo_id":"1350184186","filename":"file5"},{"photo_id":"1350184176","filename":"file2"},{"photo_id":"1350184183","filename":"file4"},{"photo_id":"1350184172","filename":"file1"},{"photo_id":"1350184169","filename":"file0"},{"photo_id":"1350184179","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184172":["hashtag1","hashtag2"]},{"1350184186":["hashtag1","hashtag2"]},{"1350184183":["hashtag1","hashtag2"]},{"1350184179":["hashtag1","hashtag2"]},{"1350184176":["hashtag1","hashtag2"]},{"1350184169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184172, 1350184186, 1350184183, 1350184179, 1350184176, 1350184169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58499073982239 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:48:21.841403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_26_3750.jpg', '/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_46_2635.jpg', '/home/pi/Desktop/images/06042025/08/58/image_06042025_08_58_02_2572.jpg', '/home/pi/Desktop/images/06042025/08/58/image_06042025_08_58_41_3651.jpg', '/home/pi/Desktop/images/06042025/08/58/image_06042025_08_58_59_3758.jpg', '/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_02_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_26_3750.jpg
/home/pi/Desktop/images/06042025/08/57/image_06042025_08_57_46_2635.jpg
/home/pi/Desktop/images/06042025/08/58/image_06042025_08_58_02_2572.jpg
/home/pi/Desktop/images/06042025/08/58/image_06042025_08_58_41_3651.jpg
/home/pi/Desktop/images/06042025/08/58/image_06042025_08_58_59_3758.jpg
/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_02_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184202","1350184205","1350184216","1350184197","1350184209","1350184212"],"photo_ids_order":["1350184197","1350184202","1350184205","1350184209","1350184212","1350184216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8a6c2a7e07743d22442c8006d704b4ce.jpg","text":"TemporaryFile(/tmp/multipartBody966371733534943167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965362601,"filename":"image_06042025_08_57_46_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/91b235ab7d2cefe02d8314f5a3479523.jpg","text":"TemporaryFile(/tmp/multipartBody2671247254310887814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965362601,"filename":"image_06042025_08_58_02_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e00339f7b5a60fed3d5b29b0b40fb3e6.jpg","text":"TemporaryFile(/tmp/multipartBody4937356940289613843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965362601,"filename":"image_06042025_08_59_02_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/765b97831d1d52c1d29df6dc8465fe29.jpg","text":"TemporaryFile(/tmp/multipartBody5046668948522601175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965362601,"filename":"image_06042025_08_57_26_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/674cfba9c17aad49ceda696a9cc98f20.jpg","text":"TemporaryFile(/tmp/multipartBody8938986059892248131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965362601,"filename":"image_06042025_08_58_41_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5167341bbae312c33f64801b428b80eb.jpg","text":"TemporaryFile(/tmp/multipartBody927266362083928020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965362601,"filename":"image_06042025_08_58_59_3758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184205","file1":"1350184202","file0":"1350184197","file4":"1350184212","file5":"1350184216","file3":"1350184209"},"map_files_photo_id_array":[{"photo_id":"1350184216","filename":"file5"},{"photo_id":"1350184205","filename":"file2"},{"photo_id":"1350184212","filename":"file4"},{"photo_id":"1350184202","filename":"file1"},{"photo_id":"1350184197","filename":"file0"},{"photo_id":"1350184209","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184202":["hashtag1","hashtag2"]},{"1350184205":["hashtag1","hashtag2"]},{"1350184216":["hashtag1","hashtag2"]},{"1350184197":["hashtag1","hashtag2"]},{"1350184209":["hashtag1","hashtag2"]},{"1350184212":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184202, 1350184205, 1350184216, 1350184197, 1350184209, 1350184212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.597744941711426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:49:04.411115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:49:24.478498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_32_3765.jpg', '/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_53_2553.jpg', '/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_55_2676.jpg', '/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_20_3667.jpg', '/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_23_2598.jpg', '/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_37_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_32_3765.jpg
/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_53_2553.jpg
/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_55_2676.jpg
/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_20_3667.jpg
/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_23_2598.jpg
/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_37_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":["1350184253","1350184235","1350184264","1350184258","1350184290","1350184275"],"photo_ids_order":["1350184235","1350184253","1350184258","1350184264","1350184275","1350184290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2745585062ae60d4d4dcb50130141fe0.jpg","text":"TemporaryFile(/tmp/multipartBody4021048704580078625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965427607,"filename":"image_06042025_08_59_53_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d364f3cb1d473221c49e797c9d81e921.jpg","text":"TemporaryFile(/tmp/multipartBody7809210920292437738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965427607,"filename":"image_06042025_08_59_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/4/6/42a09406bb5181c8a72af661dcd0729d.jpg","text":"TemporaryFile(/tmp/multipartBody3615121461102216426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965427607,"filename":"image_06042025_09_00_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/4/6/3df9161490cfadd6aebb84cd15c09539.jpg","text":"TemporaryFile(/tmp/multipartBody1918884069830843162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965427607,"filename":"image_06042025_08_59_55_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6e310e986038031848592e1c0a438695.jpg","text":"TemporaryFile(/tmp/multipartBody8704262242635304280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965427607,"filename":"image_06042025_09_00_37_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a4e6f10194bf0fddb57f348bcba72559.jpg","text":"TemporaryFile(/tmp/multipartBody101522628733073054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965427607,"filename":"image_06042025_09_00_23_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184258","file1":"1350184253","file0":"1350184235","file4":"1350184275","file5":"1350184290","file3":"1350184264"},"map_files_photo_id_array":[{"photo_id":"1350184290","filename":"file5"},{"photo_id":"1350184258","filename":"file2"},{"photo_id":"1350184275","filename":"file4"},{"photo_id":"1350184253","filename":"file1"},{"photo_id":"1350184235","filename":"file0"},{"photo_id":"1350184264","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184253":["hashtag1","hashtag2"]},{"1350184235":["hashtag1","hashtag2"]},{"1350184264":["hashtag1","hashtag2"]},{"1350184258":["hashtag1","hashtag2"]},{"1350184290":["hashtag1","hashtag2"]},{"1350184275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184253, 1350184235, 1350184264, 1350184258, 1350184290, 1350184275)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1350184258 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/06042025/08/59/image_06042025_08_59_55_2676.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 69.01370429992676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:50:42.734762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_47_2590.jpg', '/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_50_3614.jpg', '/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_01_5476.jpg', '/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_05_1713.jpg', '/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_08_3603.jpg', '/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_17_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_47_2590.jpg
/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_50_3614.jpg
/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_01_5476.jpg
/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_05_1713.jpg
/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_08_3603.jpg
/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_17_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.618767499923706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:51:02.488748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:51:25.032373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_47_2590.jpg', '/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_50_3614.jpg', '/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_01_5476.jpg', '/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_05_1713.jpg', '/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_08_3603.jpg', '/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_17_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_47_2590.jpg
/home/pi/Desktop/images/06042025/09/00/image_06042025_09_00_50_3614.jpg
/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_01_5476.jpg
/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_05_1713.jpg
/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_08_3603.jpg
/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_17_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":["1350184352","1350184351","1350184360","1350184354","1350184348","1350184344"],"photo_ids_order":["1350184344","1350184348","1350184351","1350184352","1350184354","1350184360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4f1d30d1909a15718a32942b823d0794.jpg","text":"TemporaryFile(/tmp/multipartBody1345695455935784429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965545798,"filename":"image_06042025_09_01_05_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a1587d8f0e829522c3316a8d4a23f60a.jpg","text":"TemporaryFile(/tmp/multipartBody2116245544910411444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965545798,"filename":"image_06042025_09_01_01_5476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/50b9ca90a5453421ffd0ce848dba7fb6.jpg","text":"TemporaryFile(/tmp/multipartBody3388476622062489318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965545798,"filename":"image_06042025_09_01_17_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3c4c47484d5425989cb48d0538a0a93f.jpg","text":"TemporaryFile(/tmp/multipartBody4752528985457018954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965545798,"filename":"image_06042025_09_01_08_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d8a759800dd3535c8880e2b25e962611.jpg","text":"TemporaryFile(/tmp/multipartBody8979596270328445896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965545798,"filename":"image_06042025_09_00_50_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/80c975f33edeb451dca5226c1dff9b6e.jpg","text":"TemporaryFile(/tmp/multipartBody7720084949878354856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965545798,"filename":"image_06042025_09_00_47_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184351","file1":"1350184348","file0":"1350184344","file4":"1350184354","file5":"1350184360","file3":"1350184352"},"map_files_photo_id_array":[{"photo_id":"1350184360","filename":"file5"},{"photo_id":"1350184351","filename":"file2"},{"photo_id":"1350184354","filename":"file4"},{"photo_id":"1350184348","filename":"file1"},{"photo_id":"1350184344","filename":"file0"},{"photo_id":"1350184352","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184352":["hashtag1","hashtag2"]},{"1350184351":["hashtag1","hashtag2"]},{"1350184360":["hashtag1","hashtag2"]},{"1350184354":["hashtag1","hashtag2"]},{"1350184348":["hashtag1","hashtag2"]},{"1350184344":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184352, 1350184351, 1350184360, 1350184354, 1350184348, 1350184344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.464338302612305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:52:22.525548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_26_3574.jpg', '/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_50_2747.jpg', '/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_52_2697.jpg', '/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_59_2760.jpg', '/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_01_2621.jpg', '/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_08_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_26_3574.jpg
/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_50_2747.jpg
/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_52_2697.jpg
/home/pi/Desktop/images/06042025/09/01/image_06042025_09_01_59_2760.jpg
/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_01_2621.jpg
/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_08_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184403","1350184420","1350184417","1350184389","1350184408","1350184386"],"photo_ids_order":["1350184386","1350184389","1350184403","1350184408","1350184417","1350184420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1e991af9c8ea790fcf88b50d891f398c.jpg","text":"TemporaryFile(/tmp/multipartBody3737456419808170247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965603209,"filename":"image_06042025_09_01_52_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/38d1f7b7d28aaf192405ddee931fbaef.jpg","text":"TemporaryFile(/tmp/multipartBody6653360399106239054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965603209,"filename":"image_06042025_09_02_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/4/6/72d4e7ed34838d3b22f4e0772ee06901.jpg","text":"TemporaryFile(/tmp/multipartBody4219612043809988036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965603209,"filename":"image_06042025_09_02_01_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a76713963e91f72d5d80660d548c4219.jpg","text":"TemporaryFile(/tmp/multipartBody1168761995596421641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965603209,"filename":"image_06042025_09_01_50_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7c395a9131bbeb89f5d0243036e94656.jpg","text":"TemporaryFile(/tmp/multipartBody6281116945621401650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965603209,"filename":"image_06042025_09_01_59_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7f28d2fd2a77d0fbc61f3e65c3007265.jpg","text":"TemporaryFile(/tmp/multipartBody8719840862376449577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965603209,"filename":"image_06042025_09_01_26_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184403","file1":"1350184389","file0":"1350184386","file4":"1350184417","file5":"1350184420","file3":"1350184408"},"map_files_photo_id_array":[{"photo_id":"1350184420","filename":"file5"},{"photo_id":"1350184403","filename":"file2"},{"photo_id":"1350184417","filename":"file4"},{"photo_id":"1350184389","filename":"file1"},{"photo_id":"1350184386","filename":"file0"},{"photo_id":"1350184408","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184403":["hashtag1","hashtag2"]},{"1350184420":["hashtag1","hashtag2"]},{"1350184417":["hashtag1","hashtag2"]},{"1350184389":["hashtag1","hashtag2"]},{"1350184408":["hashtag1","hashtag2"]},{"1350184386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184403, 1350184420, 1350184417, 1350184389, 1350184408, 1350184386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.950169801712036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:53:22.210574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_13_2821.jpg', '/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_17_3650.jpg', '/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_20_2713.jpg', '/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_23_3582.jpg', '/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_28_2573.jpg', '/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_43_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_13_2821.jpg
/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_17_3650.jpg
/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_20_2713.jpg
/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_23_3582.jpg
/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_28_2573.jpg
/home/pi/Desktop/images/06042025/09/02/image_06042025_09_02_43_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184451","1350184477","1350184441","1350184438","1350184455","1350184440"],"photo_ids_order":["1350184438","1350184440","1350184441","1350184451","1350184455","1350184477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f980995ff28295cd012e530703a55807.jpg","text":"TemporaryFile(/tmp/multipartBody5911937078472210117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965663034,"filename":"image_06042025_09_02_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/4/6/a4c9387e8c21a9f421bf6244cf9a8645.jpg","text":"TemporaryFile(/tmp/multipartBody1798980483843370479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965663034,"filename":"image_06042025_09_02_43_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/99e6cd5e08c3c0bbf0eedb0402719a66.jpg","text":"TemporaryFile(/tmp/multipartBody3786195148965121966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965663034,"filename":"image_06042025_09_02_20_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/63c4d6db184e37804261ed5b77af2283.jpg","text":"TemporaryFile(/tmp/multipartBody6835616570969738423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965663034,"filename":"image_06042025_09_02_13_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/178b4e9c41ef45861454ac2e1fbef3ae.jpg","text":"TemporaryFile(/tmp/multipartBody8389973402619642498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965663034,"filename":"image_06042025_09_02_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/4/6/49a517b3cebedfb243cfda80a770a82f.jpg","text":"TemporaryFile(/tmp/multipartBody4789686594754584522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965663034,"filename":"image_06042025_09_02_17_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184441","file1":"1350184440","file0":"1350184438","file4":"1350184455","file5":"1350184477","file3":"1350184451"},"map_files_photo_id_array":[{"photo_id":"1350184477","filename":"file5"},{"photo_id":"1350184441","filename":"file2"},{"photo_id":"1350184455","filename":"file4"},{"photo_id":"1350184440","filename":"file1"},{"photo_id":"1350184438","filename":"file0"},{"photo_id":"1350184451","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184451":["hashtag1","hashtag2"]},{"1350184477":["hashtag1","hashtag2"]},{"1350184441":["hashtag1","hashtag2"]},{"1350184438":["hashtag1","hashtag2"]},{"1350184455":["hashtag1","hashtag2"]},{"1350184440":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184451, 1350184477, 1350184441, 1350184438, 1350184455, 1350184440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.59609055519104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:54:22.274866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/03/image_06042025_09_03_28_2589.jpg', '/home/pi/Desktop/images/06042025/09/03/image_06042025_09_03_32_3635.jpg', '/home/pi/Desktop/images/06042025/09/03/image_06042025_09_03_46_2715.jpg', '/home/pi/Desktop/images/06042025/09/03/image_06042025_09_03_50_3718.jpg', '/home/pi/Desktop/images/06042025/09/03/image_06042025_09_03_53_2744.jpg', '/home/pi/Desktop/images/06042025/09/04/image_06042025_09_04_02_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/03/image_06042025_09_03_28_2589.jpg
/home/pi/Desktop/images/06042025/09/03/image_06042025_09_03_32_3635.jpg
/home/pi/Desktop/images/06042025/09/03/image_06042025_09_03_46_2715.jpg
/home/pi/Desktop/images/06042025/09/03/image_06042025_09_03_50_3718.jpg
/home/pi/Desktop/images/06042025/09/03/image_06042025_09_03_53_2744.jpg
/home/pi/Desktop/images/06042025/09/04/image_06042025_09_04_02_2610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184556","1350184541","1350184534","1350184513","1350184551","1350184545"],"photo_ids_order":["1350184513","1350184534","1350184541","1350184545","1350184551","1350184556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1c2bdea676d30fd7ebfcb8ec52a5aea7.jpg","text":"TemporaryFile(/tmp/multipartBody4897400484869822916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965722963,"filename":"image_06042025_09_04_02_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/61d152d420a95fa009d7da74ae0f1a59.jpg","text":"TemporaryFile(/tmp/multipartBody1969718223716298172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965722963,"filename":"image_06042025_09_03_46_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f40863d4fc4a223ce65b1e1b8bdb66bd.jpg","text":"TemporaryFile(/tmp/multipartBody5341804971918699462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965722963,"filename":"image_06042025_09_03_32_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a89ca9f1b3fa898e58e07a2b1efa23cb.jpg","text":"TemporaryFile(/tmp/multipartBody4713182906557740982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965722963,"filename":"image_06042025_09_03_28_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/41c26de998f3e052cfb4a40893ebce08.jpg","text":"TemporaryFile(/tmp/multipartBody6190507777580280780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965722963,"filename":"image_06042025_09_03_53_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a80eea078a09537d06bbb1fedd65357b.jpg","text":"TemporaryFile(/tmp/multipartBody4923976520120943399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965722963,"filename":"image_06042025_09_03_50_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184541","file1":"1350184534","file0":"1350184513","file4":"1350184551","file5":"1350184556","file3":"1350184545"},"map_files_photo_id_array":[{"photo_id":"1350184556","filename":"file5"},{"photo_id":"1350184541","filename":"file2"},{"photo_id":"1350184551","filename":"file4"},{"photo_id":"1350184534","filename":"file1"},{"photo_id":"1350184513","filename":"file0"},{"photo_id":"1350184545","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184556":["hashtag1","hashtag2"]},{"1350184541":["hashtag1","hashtag2"]},{"1350184534":["hashtag1","hashtag2"]},{"1350184513":["hashtag1","hashtag2"]},{"1350184551":["hashtag1","hashtag2"]},{"1350184545":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184556, 1350184541, 1350184534, 1350184513, 1350184551, 1350184545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47444295883179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:55:03.463933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/04/image_06042025_09_04_05_2818.jpg', '/home/pi/Desktop/images/06042025/09/04/image_06042025_09_04_07_2746.jpg', '/home/pi/Desktop/images/06042025/09/04/image_06042025_09_04_14_2684.jpg', '/home/pi/Desktop/images/06042025/09/04/image_06042025_09_04_35_3577.jpg', '/home/pi/Desktop/images/06042025/09/04/image_06042025_09_04_38_2584.jpg', '/home/pi/Desktop/images/06042025/09/04/image_06042025_09_04_44_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/04/image_06042025_09_04_05_2818.jpg
/home/pi/Desktop/images/06042025/09/04/image_06042025_09_04_07_2746.jpg
/home/pi/Desktop/images/06042025/09/04/image_06042025_09_04_14_2684.jpg
/home/pi/Desktop/images/06042025/09/04/image_06042025_09_04_35_3577.jpg
/home/pi/Desktop/images/06042025/09/04/image_06042025_09_04_38_2584.jpg
/home/pi/Desktop/images/06042025/09/04/image_06042025_09_04_44_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":["1350184676","1350184616","1350184625","1350184619","1350184681","1350184618"],"photo_ids_order":["1350184616","1350184618","1350184619","1350184625","1350184676","1350184681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a79e11a8f4768fea242a10906a7ffc30.jpg","text":"TemporaryFile(/tmp/multipartBody6335808349462249616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965764339,"filename":"image_06042025_09_04_38_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3421ff6b5fba87e7366de1877371857e.jpg","text":"TemporaryFile(/tmp/multipartBody7793979282561133833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965764339,"filename":"image_06042025_09_04_05_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a902b0529b458420fa2794a3dc6bd3e7.jpg","text":"TemporaryFile(/tmp/multipartBody8267764534415906166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965764339,"filename":"image_06042025_09_04_35_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2cd0b78af1436b2919295706bd86dba3.jpg","text":"TemporaryFile(/tmp/multipartBody6692537999283245346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965764339,"filename":"image_06042025_09_04_14_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d68d5f87631cb6274b8de3fe9f5ee91f.jpg","text":"TemporaryFile(/tmp/multipartBody5212017839267775802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965764339,"filename":"image_06042025_09_04_44_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/47643a563cbdef5321961fa74360abec.jpg","text":"TemporaryFile(/tmp/multipartBody8737421228458517724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965764339,"filename":"image_06042025_09_04_07_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184619","file1":"1350184618","file0":"1350184616","file4":"1350184676","file5":"1350184681","file3":"1350184625"},"map_files_photo_id_array":[{"photo_id":"1350184681","filename":"file5"},{"photo_id":"1350184619","filename":"file2"},{"photo_id":"1350184676","filename":"file4"},{"photo_id":"1350184618","filename":"file1"},{"photo_id":"1350184616","filename":"file0"},{"photo_id":"1350184625","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184676":["hashtag1","hashtag2"]},{"1350184616":["hashtag1","hashtag2"]},{"1350184625":["hashtag1","hashtag2"]},{"1350184619":["hashtag1","hashtag2"]},{"1350184681":["hashtag1","hashtag2"]},{"1350184618":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184676, 1350184616, 1350184625, 1350184619, 1350184681, 1350184618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.84232449531555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:56:02.496249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/05/image_06042025_09_05_28_2657.jpg', '/home/pi/Desktop/images/06042025/09/05/image_06042025_09_05_35_2677.jpg', '/home/pi/Desktop/images/06042025/09/05/image_06042025_09_05_55_2596.jpg', '/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_01_2739.jpg', '/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_11_2756.jpg', '/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_22_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/05/image_06042025_09_05_28_2657.jpg
/home/pi/Desktop/images/06042025/09/05/image_06042025_09_05_35_2677.jpg
/home/pi/Desktop/images/06042025/09/05/image_06042025_09_05_55_2596.jpg
/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_01_2739.jpg
/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_11_2756.jpg
/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_22_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184696","1350184699","1350184695","1350184704","1350184707","1350184701"],"photo_ids_order":["1350184695","1350184696","1350184699","1350184701","1350184704","1350184707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/aab2cb81765ed57b3790e61e44c817b9.jpg","text":"TemporaryFile(/tmp/multipartBody5560568359548203070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965824746,"filename":"image_06042025_09_05_35_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c77428844a374164c7bc347686370f97.jpg","text":"TemporaryFile(/tmp/multipartBody9144750581781737474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965824746,"filename":"image_06042025_09_05_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/4/6/6832ae8e1cabbcbfe3f58ee35628bce1.jpg","text":"TemporaryFile(/tmp/multipartBody2647310331318414486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965824746,"filename":"image_06042025_09_05_28_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d86488328677e69b8d15189bc6d5cda5.jpg","text":"TemporaryFile(/tmp/multipartBody7035417132178265376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965824746,"filename":"image_06042025_09_06_11_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f138c6d19a27cb6812a98dd3078d781f.jpg","text":"TemporaryFile(/tmp/multipartBody8079752411368669485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965824746,"filename":"image_06042025_09_06_22_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fde1451e5f7c28ac3ee750ce293b0449.jpg","text":"TemporaryFile(/tmp/multipartBody2396918849704584809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965824746,"filename":"image_06042025_09_06_01_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184699","file1":"1350184696","file0":"1350184695","file4":"1350184704","file5":"1350184707","file3":"1350184701"},"map_files_photo_id_array":[{"photo_id":"1350184707","filename":"file5"},{"photo_id":"1350184699","filename":"file2"},{"photo_id":"1350184704","filename":"file4"},{"photo_id":"1350184696","filename":"file1"},{"photo_id":"1350184695","filename":"file0"},{"photo_id":"1350184701","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184696":["hashtag1","hashtag2"]},{"1350184699":["hashtag1","hashtag2"]},{"1350184695":["hashtag1","hashtag2"]},{"1350184704":["hashtag1","hashtag2"]},{"1350184707":["hashtag1","hashtag2"]},{"1350184701":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184696, 1350184699, 1350184695, 1350184704, 1350184707, 1350184701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64023780822754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 20:56:41.969864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_25_2646.jpg', '/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_31_2706.jpg', '/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_01_2648.jpg', '/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_31_2769.jpg', '/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_37_2696.jpg', '/home/pi/Desktop/images/06042025/09/08/image_06042025_09_08_31_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_25_2646.jpg
/home/pi/Desktop/images/06042025/09/06/image_06042025_09_06_31_2706.jpg
/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_01_2648.jpg
/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_31_2769.jpg
/home/pi/Desktop/images/06042025/09/07/image_06042025_09_07_37_2696.jpg
/home/pi/Desktop/images/06042025/09/08/image_06042025_09_08_31_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184727","1350184730","1350184724","1350184716","1350184719","1350184728"],"photo_ids_order":["1350184716","1350184719","1350184724","1350184727","1350184728","1350184730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6ddb46d65a41e6dbc42ef9fbad8c7f89.jpg","text":"TemporaryFile(/tmp/multipartBody366602087108625171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965862781,"filename":"image_06042025_09_07_31_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1a8d79e91a0a5ebb660c6f4ada822c74.jpg","text":"TemporaryFile(/tmp/multipartBody477270544880044122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965862781,"filename":"image_06042025_09_08_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/4/6/d5232a1ce50a4ab2c56a257881f14731.jpg","text":"TemporaryFile(/tmp/multipartBody6519879550386165237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965862781,"filename":"image_06042025_09_07_01_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/355c24b97dacef8fb108f35e928c5b80.jpg","text":"TemporaryFile(/tmp/multipartBody6548440096708644015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965862781,"filename":"image_06042025_09_06_25_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/20edd524fb82ece14662cf02ca980e11.jpg","text":"TemporaryFile(/tmp/multipartBody3624021597831941020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965862781,"filename":"image_06042025_09_06_31_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fd16cb6a7ee55e16bc83560c1bff5146.jpg","text":"TemporaryFile(/tmp/multipartBody3532137996402033570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965862781,"filename":"image_06042025_09_07_37_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184724","file1":"1350184719","file0":"1350184716","file4":"1350184728","file5":"1350184730","file3":"1350184727"},"map_files_photo_id_array":[{"photo_id":"1350184730","filename":"file5"},{"photo_id":"1350184724","filename":"file2"},{"photo_id":"1350184728","filename":"file4"},{"photo_id":"1350184719","filename":"file1"},{"photo_id":"1350184716","filename":"file0"},{"photo_id":"1350184727","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184727":["hashtag1","hashtag2"]},{"1350184730":["hashtag1","hashtag2"]},{"1350184724":["hashtag1","hashtag2"]},{"1350184716":["hashtag1","hashtag2"]},{"1350184719":["hashtag1","hashtag2"]},{"1350184728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184727, 1350184730, 1350184724, 1350184716, 1350184719, 1350184728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96954560279846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 20:57:22.144708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/08/image_06042025_09_08_46_2595.jpg', '/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_04_1691.jpg', '/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_07_3715.jpg', '/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_43_3572.jpg', '/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_55_2792.jpg', '/home/pi/Desktop/images/06042025/09/10/image_06042025_09_10_04_2935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/08/image_06042025_09_08_46_2595.jpg
/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_04_1691.jpg
/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_07_3715.jpg
/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_43_3572.jpg
/home/pi/Desktop/images/06042025/09/09/image_06042025_09_09_55_2792.jpg
/home/pi/Desktop/images/06042025/09/10/image_06042025_09_10_04_2935.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184769","1350184741","1350184753","1350184734","1350184737","1350184787"],"photo_ids_order":["1350184734","1350184737","1350184741","1350184753","1350184769","1350184787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/edced0b9c329a4b9a00088354f0761bf.jpg","text":"TemporaryFile(/tmp/multipartBody1675161347257881740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965903035,"filename":"image_06042025_09_09_55_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5301242dc59c3d5b78392391453de25e.jpg","text":"TemporaryFile(/tmp/multipartBody1160910337338926832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965903035,"filename":"image_06042025_09_09_07_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1bb369dbb0089f1434441adf564b552e.jpg","text":"TemporaryFile(/tmp/multipartBody4572311246571847774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965903035,"filename":"image_06042025_09_09_43_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9c6a9c085df4746362453a01520f8c5e.jpg","text":"TemporaryFile(/tmp/multipartBody8355911119510912739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965903035,"filename":"image_06042025_09_08_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/4/6/033d84f275c94e839eb142f876a9b8fb.jpg","text":"TemporaryFile(/tmp/multipartBody7863041083447299530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965903035,"filename":"image_06042025_09_09_04_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c0ed0c44e59fa4dfa891ed5b25b3fbcd.jpg","text":"TemporaryFile(/tmp/multipartBody2675508329249922560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743965903035,"filename":"image_06042025_09_10_04_2935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184741","file1":"1350184737","file0":"1350184734","file4":"1350184769","file5":"1350184787","file3":"1350184753"},"map_files_photo_id_array":[{"photo_id":"1350184787","filename":"file5"},{"photo_id":"1350184741","filename":"file2"},{"photo_id":"1350184769","filename":"file4"},{"photo_id":"1350184737","filename":"file1"},{"photo_id":"1350184734","filename":"file0"},{"photo_id":"1350184753","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184769":["hashtag1","hashtag2"]},{"1350184741":["hashtag1","hashtag2"]},{"1350184753":["hashtag1","hashtag2"]},{"1350184734":["hashtag1","hashtag2"]},{"1350184737":["hashtag1","hashtag2"]},{"1350184787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184769, 1350184741, 1350184753, 1350184734, 1350184737, 1350184787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78337740898132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 20:59:03.375665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/10/image_06042025_09_10_34_2803.jpg', '/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_01_2636.jpg', '/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_07_3579.jpg', '/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_37_2708.jpg', '/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_40_3578.jpg', '/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_43_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/10/image_06042025_09_10_34_2803.jpg
/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_01_2636.jpg
/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_07_3579.jpg
/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_37_2708.jpg
/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_40_3578.jpg
/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_43_2528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184829","1350184855","1350184849","1350184840","1350184834","1350184845"],"photo_ids_order":["1350184829","1350184834","1350184840","1350184845","1350184849","1350184855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0c0d211167c895d878cb4de088121068.jpg","text":"TemporaryFile(/tmp/multipartBody1610084873192175152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966004320,"filename":"image_06042025_09_10_34_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/01dd4bc596c3d6eafacbf4f87d22c6c9.jpg","text":"TemporaryFile(/tmp/multipartBody7803629386599830427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966004320,"filename":"image_06042025_09_11_43_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/36fc44d4c319869dde3cd418b76ae0ed.jpg","text":"TemporaryFile(/tmp/multipartBody6914179439679386440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966004320,"filename":"image_06042025_09_11_40_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5c9dbc6935cf8fbdf9b08d1488ae276b.jpg","text":"TemporaryFile(/tmp/multipartBody6136902451488917150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966004320,"filename":"image_06042025_09_11_07_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7e509ad1fad28d8b367f967bed22860b.jpg","text":"TemporaryFile(/tmp/multipartBody2675410392439719584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966004320,"filename":"image_06042025_09_11_01_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c8c52c81f63cbf81239f9fe8b89db7ba.jpg","text":"TemporaryFile(/tmp/multipartBody573898278541996750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966004320,"filename":"image_06042025_09_11_37_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184840","file1":"1350184834","file0":"1350184829","file4":"1350184849","file5":"1350184855","file3":"1350184845"},"map_files_photo_id_array":[{"photo_id":"1350184855","filename":"file5"},{"photo_id":"1350184840","filename":"file2"},{"photo_id":"1350184849","filename":"file4"},{"photo_id":"1350184834","filename":"file1"},{"photo_id":"1350184829","filename":"file0"},{"photo_id":"1350184845","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184829":["hashtag1","hashtag2"]},{"1350184855":["hashtag1","hashtag2"]},{"1350184849":["hashtag1","hashtag2"]},{"1350184840":["hashtag1","hashtag2"]},{"1350184834":["hashtag1","hashtag2"]},{"1350184845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184829, 1350184855, 1350184849, 1350184840, 1350184834, 1350184845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55885338783264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:00:03.252888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_46_2768.jpg', '/home/pi/Desktop/images/06042025/09/12/image_06042025_09_12_04_2727.jpg', '/home/pi/Desktop/images/06042025/09/12/image_06042025_09_12_10_3706.jpg', '/home/pi/Desktop/images/06042025/09/12/image_06042025_09_12_13_2698.jpg', '/home/pi/Desktop/images/06042025/09/13/image_06042025_09_13_54_2754.jpg', '/home/pi/Desktop/images/06042025/09/13/image_06042025_09_13_57_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/11/image_06042025_09_11_46_2768.jpg
/home/pi/Desktop/images/06042025/09/12/image_06042025_09_12_04_2727.jpg
/home/pi/Desktop/images/06042025/09/12/image_06042025_09_12_10_3706.jpg
/home/pi/Desktop/images/06042025/09/12/image_06042025_09_12_13_2698.jpg
/home/pi/Desktop/images/06042025/09/13/image_06042025_09_13_54_2754.jpg
/home/pi/Desktop/images/06042025/09/13/image_06042025_09_13_57_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184867","1350184879","1350184884","1350184875","1350184892","1350184871"],"photo_ids_order":["1350184867","1350184871","1350184875","1350184879","1350184884","1350184892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bd59bafb8a571230045a372939987f70.jpg","text":"TemporaryFile(/tmp/multipartBody8044104645769789480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966064050,"filename":"image_06042025_09_11_46_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/62e34caf36a57d16a33601bc54f0adff.jpg","text":"TemporaryFile(/tmp/multipartBody1438672362680435428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966064050,"filename":"image_06042025_09_12_13_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4162115406e8fa5b3d9d11644a48efa6.jpg","text":"TemporaryFile(/tmp/multipartBody5574715460196261176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966064050,"filename":"image_06042025_09_13_54_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4505b76b77be9747b06c0f6272731b0a.jpg","text":"TemporaryFile(/tmp/multipartBody5010966928021611505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966064050,"filename":"image_06042025_09_12_10_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/51d132482881a05612c889740eea82a9.jpg","text":"TemporaryFile(/tmp/multipartBody1330609184235255893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966064050,"filename":"image_06042025_09_13_57_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ebb75bb2469d9abadf428508d1937b0b.jpg","text":"TemporaryFile(/tmp/multipartBody5586635043292133103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966064050,"filename":"image_06042025_09_12_04_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184875","file1":"1350184871","file0":"1350184867","file4":"1350184884","file5":"1350184892","file3":"1350184879"},"map_files_photo_id_array":[{"photo_id":"1350184892","filename":"file5"},{"photo_id":"1350184875","filename":"file2"},{"photo_id":"1350184884","filename":"file4"},{"photo_id":"1350184871","filename":"file1"},{"photo_id":"1350184867","filename":"file0"},{"photo_id":"1350184879","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184867":["hashtag1","hashtag2"]},{"1350184879":["hashtag1","hashtag2"]},{"1350184884":["hashtag1","hashtag2"]},{"1350184875":["hashtag1","hashtag2"]},{"1350184892":["hashtag1","hashtag2"]},{"1350184871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184867, 1350184879, 1350184884, 1350184875, 1350184892, 1350184871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68051815032959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:00:42.642364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_03_2703.jpg', '/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_10_2623.jpg', '/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_16_3592.jpg', '/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_19_2684.jpg', '/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_30_2584.jpg', '/home/pi/Desktop/images/06042025/09/14/image_06042025_09_15_01_3891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_03_2703.jpg
/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_10_2623.jpg
/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_16_3592.jpg
/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_19_2684.jpg
/home/pi/Desktop/images/06042025/09/14/image_06042025_09_14_30_2584.jpg
/home/pi/Desktop/images/06042025/09/14/image_06042025_09_15_01_3891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350184931","1350184921","1350184924","1350184918","1350184927","1350184935"],"photo_ids_order":["1350184918","1350184921","1350184924","1350184927","1350184931","1350184935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2f8423da72fb45cfa7331b9461bdcf63.jpg","text":"TemporaryFile(/tmp/multipartBody7622684453051835931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966103376,"filename":"image_06042025_09_14_30_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9d9fbcd348ad13ab607086d3c8148acc.jpg","text":"TemporaryFile(/tmp/multipartBody3874245395411155021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966103376,"filename":"image_06042025_09_14_10_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/66739f9a4531d26efa59b683a5506252.jpg","text":"TemporaryFile(/tmp/multipartBody2207856177454866599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966103376,"filename":"image_06042025_09_14_16_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/62e01a442539322f1c9f37c9ac15fcb0.jpg","text":"TemporaryFile(/tmp/multipartBody5952468467698595382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966103376,"filename":"image_06042025_09_14_03_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9c19c71b43edf1ec76cb6b754b97ea0a.jpg","text":"TemporaryFile(/tmp/multipartBody3288097258753839082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966103376,"filename":"image_06042025_09_14_19_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0c2dd9f9b71e7cc7fd6cd6ba739045f1.jpg","text":"TemporaryFile(/tmp/multipartBody1434999681093657361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966103376,"filename":"image_06042025_09_15_01_3891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350184924","file1":"1350184921","file0":"1350184918","file4":"1350184931","file5":"1350184935","file3":"1350184927"},"map_files_photo_id_array":[{"photo_id":"1350184935","filename":"file5"},{"photo_id":"1350184924","filename":"file2"},{"photo_id":"1350184931","filename":"file4"},{"photo_id":"1350184921","filename":"file1"},{"photo_id":"1350184918","filename":"file0"},{"photo_id":"1350184927","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350184931":["hashtag1","hashtag2"]},{"1350184921":["hashtag1","hashtag2"]},{"1350184924":["hashtag1","hashtag2"]},{"1350184918":["hashtag1","hashtag2"]},{"1350184927":["hashtag1","hashtag2"]},{"1350184935":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350184931, 1350184921, 1350184924, 1350184918, 1350184927, 1350184935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46092486381531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:01:42.046303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/15/image_06042025_09_15_48_2727.jpg', '/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_09_2525.jpg', '/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_16_3666.jpg', '/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_25_3700.jpg', '/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_34_3684.jpg', '/home/pi/Desktop/images/06042025/09/17/image_06042025_09_17_52_3867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/15/image_06042025_09_15_48_2727.jpg
/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_09_2525.jpg
/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_16_3666.jpg
/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_25_3700.jpg
/home/pi/Desktop/images/06042025/09/16/image_06042025_09_16_34_3684.jpg
/home/pi/Desktop/images/06042025/09/17/image_06042025_09_17_52_3867.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350185021","1350185017","1350185014","1350185013","1350185024","1350185027"],"photo_ids_order":["1350185013","1350185014","1350185017","1350185021","1350185024","1350185027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e55c083ef404f4eab4ef7740630a9986.jpg","text":"TemporaryFile(/tmp/multipartBody2139001250076145845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966162748,"filename":"image_06042025_09_16_25_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cebb9d11196704c2516b3df30303a013.jpg","text":"TemporaryFile(/tmp/multipartBody1091325655332527132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966162748,"filename":"image_06042025_09_16_16_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3b3d994338b519180235824f6321767a.jpg","text":"TemporaryFile(/tmp/multipartBody6319166812347607147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966162748,"filename":"image_06042025_09_16_09_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c84461849c028cb8bd4a5ef5c5d6384d.jpg","text":"TemporaryFile(/tmp/multipartBody1630253036062981716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966162748,"filename":"image_06042025_09_15_48_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7de3ef5592e358f8d2c81f9ca460cf98.jpg","text":"TemporaryFile(/tmp/multipartBody6282881380240038782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966162748,"filename":"image_06042025_09_16_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/4/6/35c5ec7c2a8d8b77faf3cf58084bdb53.jpg","text":"TemporaryFile(/tmp/multipartBody3857299865962376829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966162748,"filename":"image_06042025_09_17_52_3867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350185017","file1":"1350185014","file0":"1350185013","file4":"1350185024","file5":"1350185027","file3":"1350185021"},"map_files_photo_id_array":[{"photo_id":"1350185027","filename":"file5"},{"photo_id":"1350185017","filename":"file2"},{"photo_id":"1350185024","filename":"file4"},{"photo_id":"1350185014","filename":"file1"},{"photo_id":"1350185013","filename":"file0"},{"photo_id":"1350185021","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350185021":["hashtag1","hashtag2"]},{"1350185017":["hashtag1","hashtag2"]},{"1350185014":["hashtag1","hashtag2"]},{"1350185013":["hashtag1","hashtag2"]},{"1350185024":["hashtag1","hashtag2"]},{"1350185027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350185021, 1350185017, 1350185014, 1350185013, 1350185024, 1350185027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.80328059196472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:02:42.064914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/18/image_06042025_09_18_03_2722.jpg', '/home/pi/Desktop/images/06042025/09/18/image_06042025_09_18_27_1615.jpg', '/home/pi/Desktop/images/06042025/09/19/image_06042025_09_19_21_2705.jpg', '/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_15_2723.jpg', '/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_21_3690.jpg', '/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_38_2878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/18/image_06042025_09_18_03_2722.jpg
/home/pi/Desktop/images/06042025/09/18/image_06042025_09_18_27_1615.jpg
/home/pi/Desktop/images/06042025/09/19/image_06042025_09_19_21_2705.jpg
/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_15_2723.jpg
/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_21_3690.jpg
/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_38_2878.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350185092","1350185080","1350185056","1350185064","1350185067","1350185048"],"photo_ids_order":["1350185048","1350185056","1350185064","1350185067","1350185080","1350185092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4eda325543287dcf16ba7496d3d9dccb.jpg","text":"TemporaryFile(/tmp/multipartBody5392521934905126341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966222772,"filename":"image_06042025_09_20_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/4/6/f087d2dc877d25d88422dc29aa6ffb51.jpg","text":"TemporaryFile(/tmp/multipartBody796765546147603759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966222772,"filename":"image_06042025_09_20_21_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e7b5c9cd76a21fad34f7afd30d2d46c7.jpg","text":"TemporaryFile(/tmp/multipartBody8649575453655679472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966222772,"filename":"image_06042025_09_18_27_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/db22ebc7e75468992845e68b953b4e94.jpg","text":"TemporaryFile(/tmp/multipartBody5729105396615856432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966222772,"filename":"image_06042025_09_19_21_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c660df1aa266b3b7b84a1bcbca4c0c8e.jpg","text":"TemporaryFile(/tmp/multipartBody1672342668766332668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966222772,"filename":"image_06042025_09_20_15_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4d2125263a1e66814c2520091bdaa4a2.jpg","text":"TemporaryFile(/tmp/multipartBody6707842892549178730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966222772,"filename":"image_06042025_09_18_03_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350185064","file1":"1350185056","file0":"1350185048","file4":"1350185080","file5":"1350185092","file3":"1350185067"},"map_files_photo_id_array":[{"photo_id":"1350185092","filename":"file5"},{"photo_id":"1350185064","filename":"file2"},{"photo_id":"1350185080","filename":"file4"},{"photo_id":"1350185056","filename":"file1"},{"photo_id":"1350185048","filename":"file0"},{"photo_id":"1350185067","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350185092":["hashtag1","hashtag2"]},{"1350185080":["hashtag1","hashtag2"]},{"1350185056":["hashtag1","hashtag2"]},{"1350185064":["hashtag1","hashtag2"]},{"1350185067":["hashtag1","hashtag2"]},{"1350185048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350185092, 1350185080, 1350185056, 1350185064, 1350185067, 1350185048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0311176776886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:03:22.563922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_47_2774.jpg', '/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_03_2700.jpg', '/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_09_3635.jpg', '/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_12_2759.jpg', '/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_30_2631.jpg', '/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_15_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/20/image_06042025_09_20_47_2774.jpg
/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_03_2700.jpg
/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_09_3635.jpg
/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_12_2759.jpg
/home/pi/Desktop/images/06042025/09/21/image_06042025_09_21_30_2631.jpg
/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_15_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350185102","1350185122","1350185116","1350185125","1350185130","1350185121"],"photo_ids_order":["1350185102","1350185116","1350185121","1350185122","1350185125","1350185130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5ad8b550c10809b8b5f71dcc15731f84.jpg","text":"TemporaryFile(/tmp/multipartBody1101496286389280040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966263292,"filename":"image_06042025_09_20_47_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8e5dacc1e102a3cc9e901a6869f3ff80.jpg","text":"TemporaryFile(/tmp/multipartBody6883181826120291079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966263292,"filename":"image_06042025_09_21_12_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3a16cb7910e3e380043fc553004d9fdb.jpg","text":"TemporaryFile(/tmp/multipartBody5709852689320018763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966263292,"filename":"image_06042025_09_21_03_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/759a4d908d77a9089085580c06b75997.jpg","text":"TemporaryFile(/tmp/multipartBody6880791613435626132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966263292,"filename":"image_06042025_09_21_30_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/19013dd46bac30e0d54115b9566c9127.jpg","text":"TemporaryFile(/tmp/multipartBody2138975945550611884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966263292,"filename":"image_06042025_09_22_15_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c372b218dfdbe925294faf6bd8a7ec21.jpg","text":"TemporaryFile(/tmp/multipartBody5257011101689793659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966263292,"filename":"image_06042025_09_21_09_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350185121","file1":"1350185116","file0":"1350185102","file4":"1350185125","file5":"1350185130","file3":"1350185122"},"map_files_photo_id_array":[{"photo_id":"1350185130","filename":"file5"},{"photo_id":"1350185121","filename":"file2"},{"photo_id":"1350185125","filename":"file4"},{"photo_id":"1350185116","filename":"file1"},{"photo_id":"1350185102","filename":"file0"},{"photo_id":"1350185122","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350185102":["hashtag1","hashtag2"]},{"1350185122":["hashtag1","hashtag2"]},{"1350185116":["hashtag1","hashtag2"]},{"1350185125":["hashtag1","hashtag2"]},{"1350185130":["hashtag1","hashtag2"]},{"1350185121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350185102, 1350185122, 1350185116, 1350185125, 1350185130, 1350185121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48031997680664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:04:02.833481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_29_2709.jpg', '/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_45_2658.jpg', '/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_47_2617.jpg', '/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_05_2751.jpg', '/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_09_3684.jpg', '/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_15_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_29_2709.jpg
/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_45_2658.jpg
/home/pi/Desktop/images/06042025/09/22/image_06042025_09_22_47_2617.jpg
/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_05_2751.jpg
/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_09_3684.jpg
/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_15_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350185179","1350185164","1350185161","1350185187","1350185166","1350185183"],"photo_ids_order":["1350185161","1350185164","1350185166","1350185179","1350185183","1350185187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8f7ffee65b6ab53f670e9ee1a793eb07.jpg","text":"TemporaryFile(/tmp/multipartBody9211454140347695218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966303714,"filename":"image_06042025_09_23_05_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2cba3c1838aa0867ef3fad72ca0bda57.jpg","text":"TemporaryFile(/tmp/multipartBody6324825434043806067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966303714,"filename":"image_06042025_09_22_45_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4258241f169874b30190f89123908d69.jpg","text":"TemporaryFile(/tmp/multipartBody6647227641322023671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966303714,"filename":"image_06042025_09_22_29_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/23fab598dcb0bc01877c6427165db86f.jpg","text":"TemporaryFile(/tmp/multipartBody3940683031659127344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966303714,"filename":"image_06042025_09_23_15_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a963525e87c5b125b8e785c5e1920bfb.jpg","text":"TemporaryFile(/tmp/multipartBody7800891483660476430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966303714,"filename":"image_06042025_09_22_47_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/049f06f28110cd95c68a99395c7246ca.jpg","text":"TemporaryFile(/tmp/multipartBody1158705203458952535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966303714,"filename":"image_06042025_09_23_09_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350185166","file1":"1350185164","file0":"1350185161","file4":"1350185183","file5":"1350185187","file3":"1350185179"},"map_files_photo_id_array":[{"photo_id":"1350185187","filename":"file5"},{"photo_id":"1350185166","filename":"file2"},{"photo_id":"1350185183","filename":"file4"},{"photo_id":"1350185164","filename":"file1"},{"photo_id":"1350185161","filename":"file0"},{"photo_id":"1350185179","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350185179":["hashtag1","hashtag2"]},{"1350185164":["hashtag1","hashtag2"]},{"1350185161":["hashtag1","hashtag2"]},{"1350185187":["hashtag1","hashtag2"]},{"1350185166":["hashtag1","hashtag2"]},{"1350185183":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350185179, 1350185164, 1350185161, 1350185187, 1350185166, 1350185183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.565670013427734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:04:42.247533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_26_2944.jpg', '/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_30_3614.jpg', '/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_42_2645.jpg', '/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_50_2615.jpg', '/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_05_2756.jpg', '/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_08_2848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_26_2944.jpg
/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_30_3614.jpg
/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_42_2645.jpg
/home/pi/Desktop/images/06042025/09/23/image_06042025_09_23_50_2615.jpg
/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_05_2756.jpg
/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_08_2848.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350185238","1350185205","1350185214","1350185217","1350185234","1350185210"],"photo_ids_order":["1350185205","1350185210","1350185214","1350185217","1350185234","1350185238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f8c1510bd94faf063d4ee68710143cd2.jpg","text":"TemporaryFile(/tmp/multipartBody3428989625012403826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966342944,"filename":"image_06042025_09_24_08_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/45feaa5e17c17309d5087581d100b71d.jpg","text":"TemporaryFile(/tmp/multipartBody3865621229265302867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966342944,"filename":"image_06042025_09_23_26_2944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ff78758b31a224321b49d09d1a9eb1bd.jpg","text":"TemporaryFile(/tmp/multipartBody6526265588492259036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966342944,"filename":"image_06042025_09_23_42_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e2134b18777a239b116b48cc1b8f7b90.jpg","text":"TemporaryFile(/tmp/multipartBody1043704487442124142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966342944,"filename":"image_06042025_09_23_50_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6dba4a0827dc1a5280c7dd47f3a763e8.jpg","text":"TemporaryFile(/tmp/multipartBody4177698962671000930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966342944,"filename":"image_06042025_09_24_05_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6abe2bf370d4b8a74267423bf1bf91bd.jpg","text":"TemporaryFile(/tmp/multipartBody1415212575934212480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966342944,"filename":"image_06042025_09_23_30_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350185214","file1":"1350185210","file0":"1350185205","file4":"1350185234","file5":"1350185238","file3":"1350185217"},"map_files_photo_id_array":[{"photo_id":"1350185238","filename":"file5"},{"photo_id":"1350185214","filename":"file2"},{"photo_id":"1350185234","filename":"file4"},{"photo_id":"1350185210","filename":"file1"},{"photo_id":"1350185205","filename":"file0"},{"photo_id":"1350185217","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350185238":["hashtag1","hashtag2"]},{"1350185205":["hashtag1","hashtag2"]},{"1350185214":["hashtag1","hashtag2"]},{"1350185217":["hashtag1","hashtag2"]},{"1350185234":["hashtag1","hashtag2"]},{"1350185210":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350185238, 1350185205, 1350185214, 1350185217, 1350185234, 1350185210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.414711713790894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:05:22.645579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_33_3629.jpg', '/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_42_4146.jpg', '/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_45_2591.jpg', '/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_54_3545.jpg', '/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_57_2762.jpg', '/home/pi/Desktop/images/06042025/09/25/image_06042025_09_25_22_8077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_33_3629.jpg
/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_42_4146.jpg
/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_45_2591.jpg
/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_54_3545.jpg
/home/pi/Desktop/images/06042025/09/24/image_06042025_09_24_57_2762.jpg
/home/pi/Desktop/images/06042025/09/25/image_06042025_09_25_22_8077.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350185281","1350185284","1350185287","1350185266","1350185268","1350185249"],"photo_ids_order":["1350185249","1350185266","1350185268","1350185281","1350185284","1350185287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7fe83d0c85165c31b3bc0da91a62668f.jpg","text":"TemporaryFile(/tmp/multipartBody281113265515244863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966383384,"filename":"image_06042025_09_24_54_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2c943aa767447a7932e7ce6b1cc15ab4.jpg","text":"TemporaryFile(/tmp/multipartBody5679796558771739158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966383384,"filename":"image_06042025_09_24_57_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a83de7fa2de31be8c4b79c603ad96c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7971694365088944998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966383384,"filename":"image_06042025_09_25_22_8077.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b96cf7a839ef7e495e2da593a50536a8.jpg","text":"TemporaryFile(/tmp/multipartBody7650899125514845805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966383384,"filename":"image_06042025_09_24_42_4146.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/64ea24a7120c862fe1480f90b61258cd.jpg","text":"TemporaryFile(/tmp/multipartBody7144508981759957909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966383384,"filename":"image_06042025_09_24_45_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2e75190308ca71f19a1595d53d8a803a.jpg","text":"TemporaryFile(/tmp/multipartBody6819164938154049251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966383384,"filename":"image_06042025_09_24_33_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350185268","file1":"1350185266","file0":"1350185249","file4":"1350185284","file5":"1350185287","file3":"1350185281"},"map_files_photo_id_array":[{"photo_id":"1350185287","filename":"file5"},{"photo_id":"1350185268","filename":"file2"},{"photo_id":"1350185284","filename":"file4"},{"photo_id":"1350185266","filename":"file1"},{"photo_id":"1350185249","filename":"file0"},{"photo_id":"1350185281","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350185281":["hashtag1","hashtag2"]},{"1350185284":["hashtag1","hashtag2"]},{"1350185287":["hashtag1","hashtag2"]},{"1350185266":["hashtag1","hashtag2"]},{"1350185268":["hashtag1","hashtag2"]},{"1350185249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350185281, 1350185284, 1350185287, 1350185266, 1350185268, 1350185249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44378304481506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:06:02.787302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/25/image_06042025_09_25_50_2659.jpg', '/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_06_3761.jpg', '/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_11_2772.jpg', '/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_41_2717.jpg', '/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_51_3772.jpg', '/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_53_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/25/image_06042025_09_25_50_2659.jpg
/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_06_3761.jpg
/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_11_2772.jpg
/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_41_2717.jpg
/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_51_3772.jpg
/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_53_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350185319","1350185310","1350185313","1350185316","1350185318","1350185303"],"photo_ids_order":["1350185303","1350185310","1350185313","1350185316","1350185318","1350185319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/25a34f67e78380d45baf8aabadd05c08.jpg","text":"TemporaryFile(/tmp/multipartBody663354518341282787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966423569,"filename":"image_06042025_09_26_53_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4daec3a6224f3c38812ac6b44b2829fb.jpg","text":"TemporaryFile(/tmp/multipartBody2723979715251156431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966423569,"filename":"image_06042025_09_26_06_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f0fb1e50005cfc0264770faa110a9379.jpg","text":"TemporaryFile(/tmp/multipartBody2063467600007279056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966423569,"filename":"image_06042025_09_26_11_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e6333ae339b4815d07dd040a4d0fcd6b.jpg","text":"TemporaryFile(/tmp/multipartBody3271614318003523380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966423569,"filename":"image_06042025_09_26_41_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/37c0f5f4f6fef7a20159965f20594db0.jpg","text":"TemporaryFile(/tmp/multipartBody7820033293794827377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966423569,"filename":"image_06042025_09_26_51_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7a2248171a5452008afa4de8340f52d0.jpg","text":"TemporaryFile(/tmp/multipartBody1366833070065139881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966423569,"filename":"image_06042025_09_25_50_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350185313","file1":"1350185310","file0":"1350185303","file4":"1350185318","file5":"1350185319","file3":"1350185316"},"map_files_photo_id_array":[{"photo_id":"1350185319","filename":"file5"},{"photo_id":"1350185313","filename":"file2"},{"photo_id":"1350185318","filename":"file4"},{"photo_id":"1350185310","filename":"file1"},{"photo_id":"1350185303","filename":"file0"},{"photo_id":"1350185316","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350185319":["hashtag1","hashtag2"]},{"1350185310":["hashtag1","hashtag2"]},{"1350185313":["hashtag1","hashtag2"]},{"1350185316":["hashtag1","hashtag2"]},{"1350185318":["hashtag1","hashtag2"]},{"1350185303":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350185319, 1350185310, 1350185313, 1350185316, 1350185318, 1350185303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40306305885315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:06:42.116390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_56_2542.jpg', '/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_05_2818.jpg', '/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_09_3582.jpg', '/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_11_2747.jpg', '/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_26_2692.jpg', '/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_29_2872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/26/image_06042025_09_26_56_2542.jpg
/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_05_2818.jpg
/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_09_3582.jpg
/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_11_2747.jpg
/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_26_2692.jpg
/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_29_2872.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350185338","1350185341","1350185343","1350185346","1350185333","1350185336"],"photo_ids_order":["1350185333","1350185336","1350185338","1350185341","1350185343","1350185346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/49d601e265118e60fd11fd2036608440.jpg","text":"TemporaryFile(/tmp/multipartBody3667390219279631097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966462823,"filename":"image_06042025_09_27_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/4/6/c30d2eb412f9f83858fdee76bf3c249c.jpg","text":"TemporaryFile(/tmp/multipartBody3386435432584524275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966462823,"filename":"image_06042025_09_27_11_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e5ef20e877c118d39b792dfa0f620285.jpg","text":"TemporaryFile(/tmp/multipartBody7451554429845246735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966462823,"filename":"image_06042025_09_27_26_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c9fc67ff42311898499d578c1348f6e7.jpg","text":"TemporaryFile(/tmp/multipartBody121077458491118995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966462823,"filename":"image_06042025_09_27_29_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9d51055ebbaff17cf778c7dc85800959.jpg","text":"TemporaryFile(/tmp/multipartBody3098708909959517601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966462823,"filename":"image_06042025_09_26_56_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/51b44b121dbf9d9c6f54528416c47c8e.jpg","text":"TemporaryFile(/tmp/multipartBody5743989925183247081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966462823,"filename":"image_06042025_09_27_05_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350185338","file1":"1350185336","file0":"1350185333","file4":"1350185343","file5":"1350185346","file3":"1350185341"},"map_files_photo_id_array":[{"photo_id":"1350185346","filename":"file5"},{"photo_id":"1350185338","filename":"file2"},{"photo_id":"1350185343","filename":"file4"},{"photo_id":"1350185336","filename":"file1"},{"photo_id":"1350185333","filename":"file0"},{"photo_id":"1350185341","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350185338":["hashtag1","hashtag2"]},{"1350185341":["hashtag1","hashtag2"]},{"1350185343":["hashtag1","hashtag2"]},{"1350185346":["hashtag1","hashtag2"]},{"1350185333":["hashtag1","hashtag2"]},{"1350185336":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350185338, 1350185341, 1350185343, 1350185346, 1350185333, 1350185336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83508253097534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:07:22.161617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_44_2796.jpg', '/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_50_2660.jpg', '/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_59_2736.jpg', '/home/pi/Desktop/images/06042025/09/28/image_06042025_09_28_11_3008.jpg', '/home/pi/Desktop/images/06042025/09/28/image_06042025_09_28_32_2754.jpg', '/home/pi/Desktop/images/06042025/09/28/image_06042025_09_28_38_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_44_2796.jpg
/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_50_2660.jpg
/home/pi/Desktop/images/06042025/09/27/image_06042025_09_27_59_2736.jpg
/home/pi/Desktop/images/06042025/09/28/image_06042025_09_28_11_3008.jpg
/home/pi/Desktop/images/06042025/09/28/image_06042025_09_28_32_2754.jpg
/home/pi/Desktop/images/06042025/09/28/image_06042025_09_28_38_3715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350185371","1350185419","1350185413","1350185410","1350185358","1350185415"],"photo_ids_order":["1350185358","1350185371","1350185410","1350185413","1350185415","1350185419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b81f3ed5f66c8d038ad3a7ec7427a1cc.jpg","text":"TemporaryFile(/tmp/multipartBody2342138995455045228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966502871,"filename":"image_06042025_09_27_50_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/33641f072d21dd0af1f06b5b4d9d307d.jpg","text":"TemporaryFile(/tmp/multipartBody8051261622935756127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966502871,"filename":"image_06042025_09_28_38_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1c6a31008299754ef7540f69692f8809.jpg","text":"TemporaryFile(/tmp/multipartBody8463145584521564197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966502871,"filename":"image_06042025_09_28_11_3008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8895f45faf1f39e5e418faf0de02e1a6.jpg","text":"TemporaryFile(/tmp/multipartBody4646354805662225060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966502871,"filename":"image_06042025_09_27_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/4/6/4199fba33eb85ec5e4d47051fde7876a.jpg","text":"TemporaryFile(/tmp/multipartBody2593205197434827852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966502871,"filename":"image_06042025_09_27_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/4/6/f5cb762efc35c3cb65297053aac7b9e2.jpg","text":"TemporaryFile(/tmp/multipartBody3901620895064485625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966502871,"filename":"image_06042025_09_28_32_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350185410","file1":"1350185371","file0":"1350185358","file4":"1350185415","file5":"1350185419","file3":"1350185413"},"map_files_photo_id_array":[{"photo_id":"1350185419","filename":"file5"},{"photo_id":"1350185410","filename":"file2"},{"photo_id":"1350185415","filename":"file4"},{"photo_id":"1350185371","filename":"file1"},{"photo_id":"1350185358","filename":"file0"},{"photo_id":"1350185413","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350185371":["hashtag1","hashtag2"]},{"1350185419":["hashtag1","hashtag2"]},{"1350185413":["hashtag1","hashtag2"]},{"1350185410":["hashtag1","hashtag2"]},{"1350185358":["hashtag1","hashtag2"]},{"1350185415":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350185371, 1350185419, 1350185413, 1350185410, 1350185358, 1350185415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72508931159973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:08:02.411354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_20_2771.jpg', '/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_29_2659.jpg', '/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_44_3665.jpg', '/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_50_2849.jpg', '/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_59_2757.jpg', '/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_20_2771.jpg
/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_29_2659.jpg
/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_44_3665.jpg
/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_50_2849.jpg
/home/pi/Desktop/images/06042025/09/29/image_06042025_09_29_59_2757.jpg
/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350185614","1350185430","1350185424","1350185427","1350185483","1350185549"],"photo_ids_order":["1350185424","1350185427","1350185430","1350185483","1350185549","1350185614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b688d74cb15b92fbee567e5e4c11423c.jpg","text":"TemporaryFile(/tmp/multipartBody7849328616823289918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966543184,"filename":"image_06042025_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/4/6/445f9e5e416fdbb8b3b57dc9239a1fe0.jpg","text":"TemporaryFile(/tmp/multipartBody1710368558295010609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966543184,"filename":"image_06042025_09_29_44_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f1cf286c9f0622547eda8e67ed5f10ac.jpg","text":"TemporaryFile(/tmp/multipartBody1918733709560041851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966543184,"filename":"image_06042025_09_29_20_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1e3377f8d71b2376df1852960ed7dc5c.jpg","text":"TemporaryFile(/tmp/multipartBody2585027918240257483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966543184,"filename":"image_06042025_09_29_29_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0443ae11474e02e2c27968ff7f1f2bf3.jpg","text":"TemporaryFile(/tmp/multipartBody5131367208328465375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966543184,"filename":"image_06042025_09_29_50_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/dea64d5093317d660fbb071f621bafbe.jpg","text":"TemporaryFile(/tmp/multipartBody1089022790360542300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966543184,"filename":"image_06042025_09_29_59_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350185430","file1":"1350185427","file0":"1350185424","file4":"1350185549","file5":"1350185614","file3":"1350185483"},"map_files_photo_id_array":[{"photo_id":"1350185614","filename":"file5"},{"photo_id":"1350185430","filename":"file2"},{"photo_id":"1350185549","filename":"file4"},{"photo_id":"1350185427","filename":"file1"},{"photo_id":"1350185424","filename":"file0"},{"photo_id":"1350185483","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350185614":["hashtag1","hashtag2"]},{"1350185430":["hashtag1","hashtag2"]},{"1350185424":["hashtag1","hashtag2"]},{"1350185427":["hashtag1","hashtag2"]},{"1350185483":["hashtag1","hashtag2"]},{"1350185549":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350185614, 1350185430, 1350185424, 1350185427, 1350185483, 1350185549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.00602149963379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:09:03.210576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_17_3718.jpg', '/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_43_2837.jpg', '/home/pi/Desktop/images/06042025/09/31/image_06042025_09_31_04_2551.jpg', '/home/pi/Desktop/images/06042025/09/31/image_06042025_09_31_08_3660.jpg', '/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_08_3583.jpg', '/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_16_2918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_17_3718.jpg
/home/pi/Desktop/images/06042025/09/30/image_06042025_09_30_43_2837.jpg
/home/pi/Desktop/images/06042025/09/31/image_06042025_09_31_04_2551.jpg
/home/pi/Desktop/images/06042025/09/31/image_06042025_09_31_08_3660.jpg
/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_08_3583.jpg
/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_16_2918.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350185717","1350185722","1350185715","1350185693","1350185687","1350185690"],"photo_ids_order":["1350185687","1350185690","1350185693","1350185715","1350185717","1350185722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7c95c0e1d9b19ced8a94b05c0899f3ba.jpg","text":"TemporaryFile(/tmp/multipartBody4830026693873610134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966604176,"filename":"image_06042025_09_32_08_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fd36bd133c096a476c3837888612aa58.jpg","text":"TemporaryFile(/tmp/multipartBody4496718436763347662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966604176,"filename":"image_06042025_09_32_16_2918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/63516cd7a09ff22b0f91d90f7466eceb.jpg","text":"TemporaryFile(/tmp/multipartBody3118984944851868222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966604176,"filename":"image_06042025_09_31_08_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7c6767d6ca5a4d75b1fedcdacdb60cd6.jpg","text":"TemporaryFile(/tmp/multipartBody3969070452797642135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966604176,"filename":"image_06042025_09_31_04_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3b70103a6b7dc2f9cdf27fa05ce1af1d.jpg","text":"TemporaryFile(/tmp/multipartBody4287360602696173097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966604176,"filename":"image_06042025_09_30_17_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a0d8e1a31bae43994ccde56247e28f85.jpg","text":"TemporaryFile(/tmp/multipartBody2576082193851059104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966604176,"filename":"image_06042025_09_30_43_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350185693","file1":"1350185690","file0":"1350185687","file4":"1350185717","file5":"1350185722","file3":"1350185715"},"map_files_photo_id_array":[{"photo_id":"1350185722","filename":"file5"},{"photo_id":"1350185693","filename":"file2"},{"photo_id":"1350185717","filename":"file4"},{"photo_id":"1350185690","filename":"file1"},{"photo_id":"1350185687","filename":"file0"},{"photo_id":"1350185715","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350185717":["hashtag1","hashtag2"]},{"1350185722":["hashtag1","hashtag2"]},{"1350185715":["hashtag1","hashtag2"]},{"1350185693":["hashtag1","hashtag2"]},{"1350185687":["hashtag1","hashtag2"]},{"1350185690":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350185717, 1350185722, 1350185715, 1350185693, 1350185687, 1350185690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58630299568176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:10:02.619787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_23_3791.jpg', '/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_38_3595.jpg', '/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_40_2700.jpg', '/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_49_2803.jpg', '/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_55_2675.jpg', '/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_04_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_23_3791.jpg
/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_38_3595.jpg
/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_40_2700.jpg
/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_49_2803.jpg
/home/pi/Desktop/images/06042025/09/32/image_06042025_09_32_55_2675.jpg
/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_04_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":["1350185899","1350185908","1350185793","1350185960","1350185963","1350185797"],"photo_ids_order":["1350185793","1350185797","1350185899","1350185908","1350185960","1350185963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ead01a593824af3aee1855e318d2b98d.jpg","text":"TemporaryFile(/tmp/multipartBody8961031435321174771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966663444,"filename":"image_06042025_09_32_40_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/42781df4a0fc38dcbadd5d45771958c3.jpg","text":"TemporaryFile(/tmp/multipartBody4799202321141407702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966663444,"filename":"image_06042025_09_32_49_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/de227c6999b774c86d8ab8e859240b2c.jpg","text":"TemporaryFile(/tmp/multipartBody4328679349260549186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966663444,"filename":"image_06042025_09_32_23_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fe7e3141597d961e5caba2899610c789.jpg","text":"TemporaryFile(/tmp/multipartBody3788225324918842581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966663444,"filename":"image_06042025_09_32_55_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/57741f38d1f6a851fade7bfc3700e61a.jpg","text":"TemporaryFile(/tmp/multipartBody8612731103276563348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966663444,"filename":"image_06042025_09_33_04_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/201e6b71d7be093029032d0d7df05f2e.jpg","text":"TemporaryFile(/tmp/multipartBody2312736567255725080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966663444,"filename":"image_06042025_09_32_38_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350185899","file1":"1350185797","file0":"1350185793","file4":"1350185960","file5":"1350185963","file3":"1350185908"},"map_files_photo_id_array":[{"photo_id":"1350185963","filename":"file5"},{"photo_id":"1350185899","filename":"file2"},{"photo_id":"1350185960","filename":"file4"},{"photo_id":"1350185797","filename":"file1"},{"photo_id":"1350185793","filename":"file0"},{"photo_id":"1350185908","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350185899":["hashtag1","hashtag2"]},{"1350185908":["hashtag1","hashtag2"]},{"1350185793":["hashtag1","hashtag2"]},{"1350185960":["hashtag1","hashtag2"]},{"1350185963":["hashtag1","hashtag2"]},{"1350185797":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350185899, 1350185908, 1350185793, 1350185960, 1350185963, 1350185797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.828359603881836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:11:05.231844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_22_2649.jpg', '/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_28_3565.jpg', '/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_31_2805.jpg', '/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_35_3540.jpg', '/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_40_2700.jpg', '/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_52_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_22_2649.jpg
/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_28_3565.jpg
/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_31_2805.jpg
/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_35_3540.jpg
/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_40_2700.jpg
/home/pi/Desktop/images/06042025/09/33/image_06042025_09_33_52_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350186127","1350186165","1350186182","1350186170","1350186167","1350186050"],"photo_ids_order":["1350186050","1350186127","1350186165","1350186167","1350186170","1350186182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a099e204a14d9cd5bcac8de05dc599e8.jpg","text":"TemporaryFile(/tmp/multipartBody6021329272921713670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966726580,"filename":"image_06042025_09_33_28_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9a4d7493ffc0d9baa41284096d377501.jpg","text":"TemporaryFile(/tmp/multipartBody7266356807438120369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966726580,"filename":"image_06042025_09_33_31_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5eba816fb6b8921af57a9d976ad10b68.jpg","text":"TemporaryFile(/tmp/multipartBody7454003948416446320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966726580,"filename":"image_06042025_09_33_52_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/49817bc6cd480e8225ea0f4bc7e0ce21.jpg","text":"TemporaryFile(/tmp/multipartBody7223262542560111205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966726580,"filename":"image_06042025_09_33_40_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cb952977650182e1da6ae34fb2c237a7.jpg","text":"TemporaryFile(/tmp/multipartBody6911501587064710228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966726580,"filename":"image_06042025_09_33_35_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0a01eb0e464fb34210dff17c1c974bba.jpg","text":"TemporaryFile(/tmp/multipartBody5792121790149434925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966726580,"filename":"image_06042025_09_33_22_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350186165","file1":"1350186127","file0":"1350186050","file4":"1350186170","file5":"1350186182","file3":"1350186167"},"map_files_photo_id_array":[{"photo_id":"1350186182","filename":"file5"},{"photo_id":"1350186165","filename":"file2"},{"photo_id":"1350186170","filename":"file4"},{"photo_id":"1350186127","filename":"file1"},{"photo_id":"1350186050","filename":"file0"},{"photo_id":"1350186167","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350186127":["hashtag1","hashtag2"]},{"1350186165":["hashtag1","hashtag2"]},{"1350186182":["hashtag1","hashtag2"]},{"1350186170":["hashtag1","hashtag2"]},{"1350186167":["hashtag1","hashtag2"]},{"1350186050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350186127, 1350186165, 1350186182, 1350186170, 1350186167, 1350186050)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.99048614501953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:12:03.164330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_07_2706.jpg', '/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_13_3772.jpg', '/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_19_2654.jpg', '/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_22_2782.jpg', '/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_43_3725.jpg', '/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_49_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_07_2706.jpg
/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_13_3772.jpg
/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_19_2654.jpg
/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_22_2782.jpg
/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_43_3725.jpg
/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_49_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":["1350186232","1350186214","1350186217","1350186222","1350186219","1350186241"],"photo_ids_order":["1350186214","1350186217","1350186219","1350186222","1350186232","1350186241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7d138968276bf0ee8ed405f9f9d9df16.jpg","text":"TemporaryFile(/tmp/multipartBody8365563747902350759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966786555,"filename":"image_06042025_09_34_43_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/feea14fba211dfff3ab000424dd39b68.jpg","text":"TemporaryFile(/tmp/multipartBody1245586587060819996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966786555,"filename":"image_06042025_09_34_07_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0da6f64282c37fe7ecd70c5bc83f04ad.jpg","text":"TemporaryFile(/tmp/multipartBody673902113975529615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966786555,"filename":"image_06042025_09_34_13_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4d9ab59d62e7370840e86990aeec7abc.jpg","text":"TemporaryFile(/tmp/multipartBody3989318246397992571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966786555,"filename":"image_06042025_09_34_22_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ebd0666a8108d7b118e14db9fb64b271.jpg","text":"TemporaryFile(/tmp/multipartBody5050879785760221183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966786555,"filename":"image_06042025_09_34_19_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2bf0f2a31c419bb1c109cc4fdabf3ece.jpg","text":"TemporaryFile(/tmp/multipartBody5227591233597550587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966786555,"filename":"image_06042025_09_34_49_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350186219","file1":"1350186217","file0":"1350186214","file4":"1350186232","file5":"1350186241","file3":"1350186222"},"map_files_photo_id_array":[{"photo_id":"1350186241","filename":"file5"},{"photo_id":"1350186219","filename":"file2"},{"photo_id":"1350186232","filename":"file4"},{"photo_id":"1350186217","filename":"file1"},{"photo_id":"1350186214","filename":"file0"},{"photo_id":"1350186222","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350186232":["hashtag1","hashtag2"]},{"1350186214":["hashtag1","hashtag2"]},{"1350186217":["hashtag1","hashtag2"]},{"1350186222":["hashtag1","hashtag2"]},{"1350186219":["hashtag1","hashtag2"]},{"1350186241":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350186232, 1350186214, 1350186217, 1350186222, 1350186219, 1350186241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.77897620201111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:13:02.723394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_52_3574.jpg', '/home/pi/Desktop/images/06042025/09/35/image_06042025_09_35_04_3589.jpg', '/home/pi/Desktop/images/06042025/09/35/image_06042025_09_35_28_2716.jpg', '/home/pi/Desktop/images/06042025/09/35/image_06042025_09_35_34_2893.jpg', '/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_01_2840.jpg', '/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_10_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/34/image_06042025_09_34_52_3574.jpg
/home/pi/Desktop/images/06042025/09/35/image_06042025_09_35_04_3589.jpg
/home/pi/Desktop/images/06042025/09/35/image_06042025_09_35_28_2716.jpg
/home/pi/Desktop/images/06042025/09/35/image_06042025_09_35_34_2893.jpg
/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_01_2840.jpg
/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_10_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":["1350186352","1350186348","1350186345","1350186254","1350186341","1350186320"],"photo_ids_order":["1350186254","1350186320","1350186341","1350186345","1350186348","1350186352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c6db200e137b051794a1a8bddca19407.jpg","text":"TemporaryFile(/tmp/multipartBody7927808606675804806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966843619,"filename":"image_06042025_09_36_10_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e096b776910c3f9abfac38a1c98416d5.jpg","text":"TemporaryFile(/tmp/multipartBody4423120530969887905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966843619,"filename":"image_06042025_09_36_01_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/603e2f85a62e7b7e9aa33659279cac61.jpg","text":"TemporaryFile(/tmp/multipartBody5779767215694585064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966843619,"filename":"image_06042025_09_35_34_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e2f9ab3c2a74bd289b479c3a4329c6ef.jpg","text":"TemporaryFile(/tmp/multipartBody3178371512011937437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966843619,"filename":"image_06042025_09_34_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/4/6/918cc3216b6ad6bb42eb4bb1cf40b59b.jpg","text":"TemporaryFile(/tmp/multipartBody209316407361946905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966843619,"filename":"image_06042025_09_35_28_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fec074451fbc18403b2e45866d85290f.jpg","text":"TemporaryFile(/tmp/multipartBody4508332799455026895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966843619,"filename":"image_06042025_09_35_04_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350186341","file1":"1350186320","file0":"1350186254","file4":"1350186348","file5":"1350186352","file3":"1350186345"},"map_files_photo_id_array":[{"photo_id":"1350186352","filename":"file5"},{"photo_id":"1350186341","filename":"file2"},{"photo_id":"1350186348","filename":"file4"},{"photo_id":"1350186320","filename":"file1"},{"photo_id":"1350186254","filename":"file0"},{"photo_id":"1350186345","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350186352":["hashtag1","hashtag2"]},{"1350186348":["hashtag1","hashtag2"]},{"1350186345":["hashtag1","hashtag2"]},{"1350186254":["hashtag1","hashtag2"]},{"1350186341":["hashtag1","hashtag2"]},{"1350186320":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350186352, 1350186348, 1350186345, 1350186254, 1350186341, 1350186320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7027382850647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:14:02.863274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_19_2652.jpg', '/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_28_2646.jpg', '/home/pi/Desktop/images/06042025/09/37/image_06042025_09_37_07_3901.jpg', '/home/pi/Desktop/images/06042025/09/37/image_06042025_09_37_19_3742.jpg', '/home/pi/Desktop/images/06042025/09/37/image_06042025_09_37_22_2733.jpg', '/home/pi/Desktop/images/06042025/09/37/image_06042025_09_37_40_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_19_2652.jpg
/home/pi/Desktop/images/06042025/09/36/image_06042025_09_36_28_2646.jpg
/home/pi/Desktop/images/06042025/09/37/image_06042025_09_37_07_3901.jpg
/home/pi/Desktop/images/06042025/09/37/image_06042025_09_37_19_3742.jpg
/home/pi/Desktop/images/06042025/09/37/image_06042025_09_37_22_2733.jpg
/home/pi/Desktop/images/06042025/09/37/image_06042025_09_37_40_3609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350186379","1350186384","1350186366","1350186369","1350186373","1350186376"],"photo_ids_order":["1350186366","1350186369","1350186373","1350186376","1350186379","1350186384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3970f7e93de3c3840fd3aee778d4eca1.jpg","text":"TemporaryFile(/tmp/multipartBody3797013276934021278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966903795,"filename":"image_06042025_09_37_22_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/eb5ab32506185f14f87f20dfbdc5320e.jpg","text":"TemporaryFile(/tmp/multipartBody1554996741742792557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966903795,"filename":"image_06042025_09_37_40_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/12315ead5912e060e1037317f468f4e9.jpg","text":"TemporaryFile(/tmp/multipartBody4928304312987762410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966903795,"filename":"image_06042025_09_36_19_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/68cc53f3c13d5f6efda28fa3178b2278.jpg","text":"TemporaryFile(/tmp/multipartBody8679698571593699709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966903795,"filename":"image_06042025_09_36_28_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fed578cc536bf50b84c044354c7df971.jpg","text":"TemporaryFile(/tmp/multipartBody3824223128835282803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966903795,"filename":"image_06042025_09_37_07_3901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9046ff0c885b14d6aa3d10348180c677.jpg","text":"TemporaryFile(/tmp/multipartBody6488628449879755726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966903795,"filename":"image_06042025_09_37_19_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350186373","file1":"1350186369","file0":"1350186366","file4":"1350186379","file5":"1350186384","file3":"1350186376"},"map_files_photo_id_array":[{"photo_id":"1350186384","filename":"file5"},{"photo_id":"1350186373","filename":"file2"},{"photo_id":"1350186379","filename":"file4"},{"photo_id":"1350186369","filename":"file1"},{"photo_id":"1350186366","filename":"file0"},{"photo_id":"1350186376","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350186379":["hashtag1","hashtag2"]},{"1350186384":["hashtag1","hashtag2"]},{"1350186366":["hashtag1","hashtag2"]},{"1350186369":["hashtag1","hashtag2"]},{"1350186373":["hashtag1","hashtag2"]},{"1350186376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350186379, 1350186384, 1350186366, 1350186369, 1350186373, 1350186376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58259868621826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:14:42.191873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/38/image_06042025_09_38_10_3625.jpg', '/home/pi/Desktop/images/06042025/09/38/image_06042025_09_38_31_2830.jpg', '/home/pi/Desktop/images/06042025/09/39/image_06042025_09_39_34_3794.jpg', '/home/pi/Desktop/images/06042025/09/39/image_06042025_09_39_45_2744.jpg', '/home/pi/Desktop/images/06042025/09/39/image_06042025_09_39_52_2589.jpg', '/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_16_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/38/image_06042025_09_38_10_3625.jpg
/home/pi/Desktop/images/06042025/09/38/image_06042025_09_38_31_2830.jpg
/home/pi/Desktop/images/06042025/09/39/image_06042025_09_39_34_3794.jpg
/home/pi/Desktop/images/06042025/09/39/image_06042025_09_39_45_2744.jpg
/home/pi/Desktop/images/06042025/09/39/image_06042025_09_39_52_2589.jpg
/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_16_3581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350186396","1350186399","1350186393","1350186407","1350186401","1350186404"],"photo_ids_order":["1350186393","1350186396","1350186399","1350186401","1350186404","1350186407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3455cc294c550ff800cc6d252c10ef29.jpg","text":"TemporaryFile(/tmp/multipartBody6644395007742798698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966942899,"filename":"image_06042025_09_38_31_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/aa238248fb723331bf6bd69b7e1ed42a.jpg","text":"TemporaryFile(/tmp/multipartBody4090150326980561386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966942899,"filename":"image_06042025_09_39_34_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/afc65216e440b50e450fae7b3e5da219.jpg","text":"TemporaryFile(/tmp/multipartBody4122049554375566103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966942899,"filename":"image_06042025_09_38_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/4/6/d2167f02b75ab05c4c1165c446dff954.jpg","text":"TemporaryFile(/tmp/multipartBody828274478711081659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966942899,"filename":"image_06042025_09_40_16_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/257200038ec5434ff8d8a8333138de18.jpg","text":"TemporaryFile(/tmp/multipartBody2196615294988388498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966942899,"filename":"image_06042025_09_39_45_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ad27e9ed624961e73809cbd455fac332.jpg","text":"TemporaryFile(/tmp/multipartBody4362419627273274313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966942899,"filename":"image_06042025_09_39_52_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350186399","file1":"1350186396","file0":"1350186393","file4":"1350186404","file5":"1350186407","file3":"1350186401"},"map_files_photo_id_array":[{"photo_id":"1350186407","filename":"file5"},{"photo_id":"1350186399","filename":"file2"},{"photo_id":"1350186404","filename":"file4"},{"photo_id":"1350186396","filename":"file1"},{"photo_id":"1350186393","filename":"file0"},{"photo_id":"1350186401","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350186396":["hashtag1","hashtag2"]},{"1350186399":["hashtag1","hashtag2"]},{"1350186393":["hashtag1","hashtag2"]},{"1350186407":["hashtag1","hashtag2"]},{"1350186401":["hashtag1","hashtag2"]},{"1350186404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350186396, 1350186399, 1350186393, 1350186407, 1350186401, 1350186404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.508673667907715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:15:22.601664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_19_2688.jpg', '/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_49_3679.jpg', '/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_51_2779.jpg', '/home/pi/Desktop/images/06042025/09/41/image_06042025_09_41_06_2719.jpg', '/home/pi/Desktop/images/06042025/09/41/image_06042025_09_41_33_2572.jpg', '/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_09_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_19_2688.jpg
/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_49_3679.jpg
/home/pi/Desktop/images/06042025/09/40/image_06042025_09_40_51_2779.jpg
/home/pi/Desktop/images/06042025/09/41/image_06042025_09_41_06_2719.jpg
/home/pi/Desktop/images/06042025/09/41/image_06042025_09_41_33_2572.jpg
/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_09_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350186436","1350186451","1350186459","1350186429","1350186416","1350186448"],"photo_ids_order":["1350186416","1350186429","1350186436","1350186448","1350186451","1350186459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b9502c2a887a9d4be3d23fc4a5653782.jpg","text":"TemporaryFile(/tmp/multipartBody5697382794074371136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966983313,"filename":"image_06042025_09_40_51_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d76677ce78aca6a5b23e2091f64d8277.jpg","text":"TemporaryFile(/tmp/multipartBody6074218451130565812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966983313,"filename":"image_06042025_09_41_33_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7f44a03d653165242a48240260c827c3.jpg","text":"TemporaryFile(/tmp/multipartBody1293607702525506443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966983313,"filename":"image_06042025_09_44_09_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/63cf7777ea35142af9e7eff7532b6b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3782880536051396199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966983313,"filename":"image_06042025_09_40_49_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5500e4c11d3711d12d8cb0ac26f7dd68.jpg","text":"TemporaryFile(/tmp/multipartBody94209045401134491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966983313,"filename":"image_06042025_09_40_19_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a7d4bdc1773da9e8f561e0ed7a8a4a1c.jpg","text":"TemporaryFile(/tmp/multipartBody8949753602964731017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743966983313,"filename":"image_06042025_09_41_06_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350186436","file1":"1350186429","file0":"1350186416","file4":"1350186451","file5":"1350186459","file3":"1350186448"},"map_files_photo_id_array":[{"photo_id":"1350186459","filename":"file5"},{"photo_id":"1350186436","filename":"file2"},{"photo_id":"1350186451","filename":"file4"},{"photo_id":"1350186429","filename":"file1"},{"photo_id":"1350186416","filename":"file0"},{"photo_id":"1350186448","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350186436":["hashtag1","hashtag2"]},{"1350186451":["hashtag1","hashtag2"]},{"1350186459":["hashtag1","hashtag2"]},{"1350186429":["hashtag1","hashtag2"]},{"1350186416":["hashtag1","hashtag2"]},{"1350186448":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350186436, 1350186451, 1350186459, 1350186429, 1350186416, 1350186448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2168390750885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:16:02.920753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_15_3611.jpg', '/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_39_2594.jpg', '/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_03_2699.jpg', '/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_06_2755.jpg', '/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_09_3685.jpg', '/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_15_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_15_3611.jpg
/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_39_2594.jpg
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_03_2699.jpg
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_06_2755.jpg
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_09_3685.jpg
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_15_2658.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6931164264678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:16:22.351040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_15_3611.jpg', '/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_39_2594.jpg', '/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_03_2699.jpg', '/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_06_2755.jpg', '/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_09_3685.jpg', '/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_15_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_15_3611.jpg
/home/pi/Desktop/images/06042025/09/44/image_06042025_09_44_39_2594.jpg
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_03_2699.jpg
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_06_2755.jpg
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_09_3685.jpg
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_15_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350186538","1350186576","1350186573","1350186555","1350186551","1350186580"],"photo_ids_order":["1350186538","1350186551","1350186555","1350186573","1350186576","1350186580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e6eb739d92b2f52ccc712878e8a97a6f.jpg","text":"TemporaryFile(/tmp/multipartBody6721047953454416800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967043049,"filename":"image_06042025_09_44_15_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3434b94e79c2c40ae351fbb7b7a57de6.jpg","text":"TemporaryFile(/tmp/multipartBody4568740060584746186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967043049,"filename":"image_06042025_09_45_09_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6307f28ea019dbe320c12506a6f370ef.jpg","text":"TemporaryFile(/tmp/multipartBody3193839394344252270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967043049,"filename":"image_06042025_09_45_06_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/072d889d179619a39ab2f8b54e65e73e.jpg","text":"TemporaryFile(/tmp/multipartBody5433250592493932662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967043049,"filename":"image_06042025_09_45_03_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/65fcc58d9f1b2b8bb35834378171198a.jpg","text":"TemporaryFile(/tmp/multipartBody6701795551014686017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967043049,"filename":"image_06042025_09_44_39_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7f4745307309b96b4b0b5850c64ce779.jpg","text":"TemporaryFile(/tmp/multipartBody6140478437756285296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967043049,"filename":"image_06042025_09_45_15_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350186555","file1":"1350186551","file0":"1350186538","file4":"1350186576","file5":"1350186580","file3":"1350186573"},"map_files_photo_id_array":[{"photo_id":"1350186580","filename":"file5"},{"photo_id":"1350186555","filename":"file2"},{"photo_id":"1350186576","filename":"file4"},{"photo_id":"1350186551","filename":"file1"},{"photo_id":"1350186538","filename":"file0"},{"photo_id":"1350186573","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350186538":["hashtag1","hashtag2"]},{"1350186576":["hashtag1","hashtag2"]},{"1350186573":["hashtag1","hashtag2"]},{"1350186555":["hashtag1","hashtag2"]},{"1350186551":["hashtag1","hashtag2"]},{"1350186580":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350186538, 1350186576, 1350186573, 1350186555, 1350186551, 1350186580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00632691383362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:17:03.255154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_27_3610.jpg', '/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_39_3633.jpg', '/home/pi/Desktop/images/06042025/09/46/image_06042025_09_46_15_2700.jpg', '/home/pi/Desktop/images/06042025/09/46/image_06042025_09_46_33_3693.jpg', '/home/pi/Desktop/images/06042025/09/46/image_06042025_09_46_48_2794.jpg', '/home/pi/Desktop/images/06042025/09/46/image_06042025_09_46_54_3736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_27_3610.jpg
/home/pi/Desktop/images/06042025/09/45/image_06042025_09_45_39_3633.jpg
/home/pi/Desktop/images/06042025/09/46/image_06042025_09_46_15_2700.jpg
/home/pi/Desktop/images/06042025/09/46/image_06042025_09_46_33_3693.jpg
/home/pi/Desktop/images/06042025/09/46/image_06042025_09_46_48_2794.jpg
/home/pi/Desktop/images/06042025/09/46/image_06042025_09_46_54_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":["1350186639","1350186630","1350186633","1350186627","1350186635","1350186631"],"photo_ids_order":["1350186627","1350186630","1350186631","1350186633","1350186635","1350186639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5a24a957f1591185fa4cee6dd9dbd896.jpg","text":"TemporaryFile(/tmp/multipartBody2875621034485769990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967084095,"filename":"image_06042025_09_46_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/4/6/1a850ffed16001f9027a2e79e8a72753.jpg","text":"TemporaryFile(/tmp/multipartBody2721991637428992401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967084095,"filename":"image_06042025_09_45_39_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a35638aebe687c45658a24756ad5da67.jpg","text":"TemporaryFile(/tmp/multipartBody1207009495951312810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967084095,"filename":"image_06042025_09_46_33_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4c5430fbd103cc247b7fbd3fdd38ca50.jpg","text":"TemporaryFile(/tmp/multipartBody8157323094709027446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967084095,"filename":"image_06042025_09_45_27_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/de1480040081e4734d66263f8b766070.jpg","text":"TemporaryFile(/tmp/multipartBody3008449862861136514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967084095,"filename":"image_06042025_09_46_48_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2e13df5801df5b6703906dacee58bc7f.jpg","text":"TemporaryFile(/tmp/multipartBody1914724644921975504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967084095,"filename":"image_06042025_09_46_15_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350186631","file1":"1350186630","file0":"1350186627","file4":"1350186635","file5":"1350186639","file3":"1350186633"},"map_files_photo_id_array":[{"photo_id":"1350186639","filename":"file5"},{"photo_id":"1350186631","filename":"file2"},{"photo_id":"1350186635","filename":"file4"},{"photo_id":"1350186630","filename":"file1"},{"photo_id":"1350186627","filename":"file0"},{"photo_id":"1350186633","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350186639":["hashtag1","hashtag2"]},{"1350186630":["hashtag1","hashtag2"]},{"1350186633":["hashtag1","hashtag2"]},{"1350186627":["hashtag1","hashtag2"]},{"1350186635":["hashtag1","hashtag2"]},{"1350186631":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350186639, 1350186630, 1350186633, 1350186627, 1350186635, 1350186631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11453604698181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:18:03.886706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/47/image_06042025_09_47_06_3923.jpg', '/home/pi/Desktop/images/06042025/09/47/image_06042025_09_47_12_2742.jpg', '/home/pi/Desktop/images/06042025/09/47/image_06042025_09_47_18_3647.jpg', '/home/pi/Desktop/images/06042025/09/47/image_06042025_09_47_30_2671.jpg', '/home/pi/Desktop/images/06042025/09/48/image_06042025_09_49_00_3647.jpg', '/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_05_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/47/image_06042025_09_47_06_3923.jpg
/home/pi/Desktop/images/06042025/09/47/image_06042025_09_47_12_2742.jpg
/home/pi/Desktop/images/06042025/09/47/image_06042025_09_47_18_3647.jpg
/home/pi/Desktop/images/06042025/09/47/image_06042025_09_47_30_2671.jpg
/home/pi/Desktop/images/06042025/09/48/image_06042025_09_49_00_3647.jpg
/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_05_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350186792","1350186729","1350186788","1350186731","1350186713","1350186730"],"photo_ids_order":["1350186713","1350186729","1350186730","1350186731","1350186788","1350186792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/85ba389a25adfab2a7b0a55917ac7c2d.jpg","text":"TemporaryFile(/tmp/multipartBody9140341953627674558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967144618,"filename":"image_06042025_09_49_05_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1aeb1a07aea0ec9688ee9602c68510a6.jpg","text":"TemporaryFile(/tmp/multipartBody7016897240817022752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967144618,"filename":"image_06042025_09_47_12_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/07244016fe7f4abf69875f2f61037e3e.jpg","text":"TemporaryFile(/tmp/multipartBody5072757450061913427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967144618,"filename":"image_06042025_09_49_00_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/38ce111952a07aa95cac8a774b78c647.jpg","text":"TemporaryFile(/tmp/multipartBody1993885982878408859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967144618,"filename":"image_06042025_09_47_30_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1884c556f7a98c502aab8eae710f776f.jpg","text":"TemporaryFile(/tmp/multipartBody6767623444376967061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967144618,"filename":"image_06042025_09_47_06_3923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6f95a139f7bb0cf045d37926f83c576b.jpg","text":"TemporaryFile(/tmp/multipartBody6826193294870507975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967144618,"filename":"image_06042025_09_47_18_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350186730","file1":"1350186729","file0":"1350186713","file4":"1350186788","file5":"1350186792","file3":"1350186731"},"map_files_photo_id_array":[{"photo_id":"1350186792","filename":"file5"},{"photo_id":"1350186730","filename":"file2"},{"photo_id":"1350186788","filename":"file4"},{"photo_id":"1350186729","filename":"file1"},{"photo_id":"1350186713","filename":"file0"},{"photo_id":"1350186731","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350186792":["hashtag1","hashtag2"]},{"1350186729":["hashtag1","hashtag2"]},{"1350186788":["hashtag1","hashtag2"]},{"1350186731":["hashtag1","hashtag2"]},{"1350186713":["hashtag1","hashtag2"]},{"1350186730":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350186792, 1350186729, 1350186788, 1350186731, 1350186713, 1350186730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4946722984314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:18:42.580438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_08_2882.jpg', '/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_17_2639.jpg', '/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_24_2766.jpg', '/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_29_2609.jpg', '/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_47_2601.jpg', '/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_51_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_08_2882.jpg
/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_17_2639.jpg
/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_24_2766.jpg
/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_29_2609.jpg
/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_47_2601.jpg
/home/pi/Desktop/images/06042025/09/49/image_06042025_09_49_51_3690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350186823","1350186825","1350186819","1350186863","1350186875","1350186815"],"photo_ids_order":["1350186815","1350186819","1350186823","1350186825","1350186863","1350186875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/faeaef1e90405e0ef98acee8c2c0274c.jpg","text":"TemporaryFile(/tmp/multipartBody118667838839517248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967183294,"filename":"image_06042025_09_49_24_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0d5228f51d31976f5369bc3240743ced.jpg","text":"TemporaryFile(/tmp/multipartBody6425082241886787749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967183294,"filename":"image_06042025_09_49_29_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5055534b06a58ff9218852b9c42dc815.jpg","text":"TemporaryFile(/tmp/multipartBody8655859483811678481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967183294,"filename":"image_06042025_09_49_17_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d43a538889a69144912442e1fa83d0be.jpg","text":"TemporaryFile(/tmp/multipartBody3967689217072146023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967183294,"filename":"image_06042025_09_49_47_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/338fe1595ddbf44a498155d81d16f91f.jpg","text":"TemporaryFile(/tmp/multipartBody3163060693391867779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967183294,"filename":"image_06042025_09_49_51_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d22afccbcbbffc4fa2ada08564b38e04.jpg","text":"TemporaryFile(/tmp/multipartBody4630406112685939938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967183294,"filename":"image_06042025_09_49_08_2882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350186823","file1":"1350186819","file0":"1350186815","file4":"1350186863","file5":"1350186875","file3":"1350186825"},"map_files_photo_id_array":[{"photo_id":"1350186875","filename":"file5"},{"photo_id":"1350186823","filename":"file2"},{"photo_id":"1350186863","filename":"file4"},{"photo_id":"1350186819","filename":"file1"},{"photo_id":"1350186815","filename":"file0"},{"photo_id":"1350186825","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350186823":["hashtag1","hashtag2"]},{"1350186825":["hashtag1","hashtag2"]},{"1350186819":["hashtag1","hashtag2"]},{"1350186863":["hashtag1","hashtag2"]},{"1350186875":["hashtag1","hashtag2"]},{"1350186815":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350186823, 1350186825, 1350186819, 1350186863, 1350186875, 1350186815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33891487121582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:19:22.647747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_17_2586.jpg', '/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_29_2763.jpg', '/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_33_3805.jpg', '/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_35_2585.jpg', '/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_42_3640.jpg', '/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_47_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_17_2586.jpg
/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_29_2763.jpg
/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_33_3805.jpg
/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_35_2585.jpg
/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_42_3640.jpg
/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_47_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350186888","1350186882","1350186896","1350186900","1350186905","1350186880"],"photo_ids_order":["1350186880","1350186882","1350186888","1350186896","1350186900","1350186905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5ac8e44d910a058641d34feb2cd7d6dd.jpg","text":"TemporaryFile(/tmp/multipartBody7984209329028899564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967223349,"filename":"image_06042025_09_50_33_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/39e856754caa29b2cdda73b478b10ca6.jpg","text":"TemporaryFile(/tmp/multipartBody1764719986982369658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967223349,"filename":"image_06042025_09_50_29_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2df4799f0fb0c0fbbfe8dae44bf12b6c.jpg","text":"TemporaryFile(/tmp/multipartBody4225744346248762242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967223349,"filename":"image_06042025_09_50_35_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/76fa2a6b788b6cff0ac24e5e8526cdf4.jpg","text":"TemporaryFile(/tmp/multipartBody1455276556183991231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967223349,"filename":"image_06042025_09_50_42_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0e9dcf4749c02d2c1df56d07a8daa312.jpg","text":"TemporaryFile(/tmp/multipartBody3399152623929336453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967223349,"filename":"image_06042025_09_50_47_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6ea06394bee96c1768d509820566c0b9.jpg","text":"TemporaryFile(/tmp/multipartBody1341955164042365381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967223349,"filename":"image_06042025_09_50_17_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350186888","file1":"1350186882","file0":"1350186880","file4":"1350186900","file5":"1350186905","file3":"1350186896"},"map_files_photo_id_array":[{"photo_id":"1350186905","filename":"file5"},{"photo_id":"1350186888","filename":"file2"},{"photo_id":"1350186900","filename":"file4"},{"photo_id":"1350186882","filename":"file1"},{"photo_id":"1350186880","filename":"file0"},{"photo_id":"1350186896","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350186888":["hashtag1","hashtag2"]},{"1350186882":["hashtag1","hashtag2"]},{"1350186896":["hashtag1","hashtag2"]},{"1350186900":["hashtag1","hashtag2"]},{"1350186905":["hashtag1","hashtag2"]},{"1350186880":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350186888, 1350186882, 1350186896, 1350186900, 1350186905, 1350186880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0025360584259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:20:02.698608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_51_3802.jpg', '/home/pi/Desktop/images/06042025/09/50/image_06042025_09_51_00_3756.jpg', '/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_02_2670.jpg', '/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_14_2630.jpg', '/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_17_2779.jpg', '/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_23_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/50/image_06042025_09_50_51_3802.jpg
/home/pi/Desktop/images/06042025/09/50/image_06042025_09_51_00_3756.jpg
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_02_2670.jpg
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_14_2630.jpg
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_17_2779.jpg
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_23_2708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350186996","1350186998","1350187001","1350187004","1350186994","1350187006"],"photo_ids_order":["1350186994","1350186996","1350186998","1350187001","1350187004","1350187006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a0b356e4a76b122d89d82569397a6a62.jpg","text":"TemporaryFile(/tmp/multipartBody6463669267126349568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967263488,"filename":"image_06042025_09_51_00_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/13f2b9b4f822e378204ee3bc88b89a4e.jpg","text":"TemporaryFile(/tmp/multipartBody2915349658676783604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967263488,"filename":"image_06042025_09_51_02_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6f39a2fd5ab5f966f66c8531ecca9850.jpg","text":"TemporaryFile(/tmp/multipartBody6489218693873941614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967263488,"filename":"image_06042025_09_51_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/4/6/27ff1a8915c176bf65a9f454c003fb2d.jpg","text":"TemporaryFile(/tmp/multipartBody2087530945069330475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967263488,"filename":"image_06042025_09_51_17_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0375cd20b9533385b62c3ef1a681a086.jpg","text":"TemporaryFile(/tmp/multipartBody7155914156914385925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967263488,"filename":"image_06042025_09_50_51_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1aed044692614d31bd3c1f87fd19d920.jpg","text":"TemporaryFile(/tmp/multipartBody2956242854532588771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967263488,"filename":"image_06042025_09_51_23_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350186998","file1":"1350186996","file0":"1350186994","file4":"1350187004","file5":"1350187006","file3":"1350187001"},"map_files_photo_id_array":[{"photo_id":"1350187006","filename":"file5"},{"photo_id":"1350186998","filename":"file2"},{"photo_id":"1350187004","filename":"file4"},{"photo_id":"1350186996","filename":"file1"},{"photo_id":"1350186994","filename":"file0"},{"photo_id":"1350187001","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350186996":["hashtag1","hashtag2"]},{"1350186998":["hashtag1","hashtag2"]},{"1350187001":["hashtag1","hashtag2"]},{"1350187004":["hashtag1","hashtag2"]},{"1350186994":["hashtag1","hashtag2"]},{"1350187006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350186996, 1350186998, 1350187001, 1350187004, 1350186994, 1350187006)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.97086977958679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:21:02.903519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_30_3811.jpg', '/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_35_2612.jpg', '/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_39_3662.jpg', '/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_48_3679.jpg', '/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_59_2710.jpg', '/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_17_2880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_30_3811.jpg
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_35_2612.jpg
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_39_3662.jpg
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_48_3679.jpg
/home/pi/Desktop/images/06042025/09/51/image_06042025_09_51_59_2710.jpg
/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_17_2880.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350187129","1350187122","1350187125","1350187124","1350187127","1350187121"],"photo_ids_order":["1350187121","1350187122","1350187124","1350187125","1350187127","1350187129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1a796e9dee65a1722ae9ac3b66eb919d.jpg","text":"TemporaryFile(/tmp/multipartBody5927675831176932169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967323756,"filename":"image_06042025_09_52_17_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/41cb8ffefaaa2b1772ed81c745b69e39.jpg","text":"TemporaryFile(/tmp/multipartBody8768721870676597925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967323756,"filename":"image_06042025_09_51_35_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/683d11ed395df6bf01cd160147c9c140.jpg","text":"TemporaryFile(/tmp/multipartBody1825348846535789204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967323756,"filename":"image_06042025_09_51_48_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/277ceef34efea1f94bd5cda5a8fdf78a.jpg","text":"TemporaryFile(/tmp/multipartBody702242990205170765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967323756,"filename":"image_06042025_09_51_39_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fc66f3bf79baf754edf3edf602be8fa6.jpg","text":"TemporaryFile(/tmp/multipartBody5622401171962424251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967323756,"filename":"image_06042025_09_51_59_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7af9b85d93597cfbadb673b1a676fb7a.jpg","text":"TemporaryFile(/tmp/multipartBody8268867074261853635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967323756,"filename":"image_06042025_09_51_30_3811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350187124","file1":"1350187122","file0":"1350187121","file4":"1350187127","file5":"1350187129","file3":"1350187125"},"map_files_photo_id_array":[{"photo_id":"1350187129","filename":"file5"},{"photo_id":"1350187124","filename":"file2"},{"photo_id":"1350187127","filename":"file4"},{"photo_id":"1350187122","filename":"file1"},{"photo_id":"1350187121","filename":"file0"},{"photo_id":"1350187125","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350187129":["hashtag1","hashtag2"]},{"1350187122":["hashtag1","hashtag2"]},{"1350187125":["hashtag1","hashtag2"]},{"1350187124":["hashtag1","hashtag2"]},{"1350187127":["hashtag1","hashtag2"]},{"1350187121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350187129, 1350187122, 1350187125, 1350187124, 1350187127, 1350187121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.5555465221405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:21:42.094236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_23_2661.jpg', '/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_26_2796.jpg', '/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_30_3683.jpg', '/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_32_2771.jpg', '/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_41_2265.jpg', '/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_44_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_23_2661.jpg
/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_26_2796.jpg
/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_30_3683.jpg
/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_32_2771.jpg
/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_41_2265.jpg
/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_44_3604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350187146","1350187154","1350187208","1350187156","1350187141","1350187150"],"photo_ids_order":["1350187141","1350187146","1350187150","1350187154","1350187156","1350187208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a7cb875120e9eb209e4cd309cacca73e.jpg","text":"TemporaryFile(/tmp/multipartBody3772494635962279683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967362822,"filename":"image_06042025_09_52_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/4/6/cd11ccb0f1dfbc313721f96f5c06f6e8.jpg","text":"TemporaryFile(/tmp/multipartBody3384682582197030377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967362822,"filename":"image_06042025_09_52_32_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bd14b7d4541338e866cbd87ce503f623.jpg","text":"TemporaryFile(/tmp/multipartBody7112702155975552509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967362822,"filename":"image_06042025_09_52_44_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e48823268e89aeb8eae71cced4cc0be9.jpg","text":"TemporaryFile(/tmp/multipartBody8997016549416212270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967362822,"filename":"image_06042025_09_52_41_2265.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/997ae5c2510e1fe437ec83ad22191fb3.jpg","text":"TemporaryFile(/tmp/multipartBody1827528449462215947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967362822,"filename":"image_06042025_09_52_23_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/95cb4b7777fb648d0442f5ac094a5c68.jpg","text":"TemporaryFile(/tmp/multipartBody304030831285868541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967362822,"filename":"image_06042025_09_52_30_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350187150","file1":"1350187146","file0":"1350187141","file4":"1350187156","file5":"1350187208","file3":"1350187154"},"map_files_photo_id_array":[{"photo_id":"1350187208","filename":"file5"},{"photo_id":"1350187150","filename":"file2"},{"photo_id":"1350187156","filename":"file4"},{"photo_id":"1350187146","filename":"file1"},{"photo_id":"1350187141","filename":"file0"},{"photo_id":"1350187154","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350187146":["hashtag1","hashtag2"]},{"1350187154":["hashtag1","hashtag2"]},{"1350187208":["hashtag1","hashtag2"]},{"1350187156":["hashtag1","hashtag2"]},{"1350187141":["hashtag1","hashtag2"]},{"1350187150":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350187146, 1350187154, 1350187208, 1350187156, 1350187141, 1350187150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29076433181763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:22:21.924563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_53_3555.jpg', '/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_03_3734.jpg', '/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_11_2588.jpg', '/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_21_3645.jpg', '/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_38_2639.jpg', '/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_53_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/52/image_06042025_09_52_53_3555.jpg
/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_03_3734.jpg
/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_11_2588.jpg
/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_21_3645.jpg
/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_38_2639.jpg
/home/pi/Desktop/images/06042025/09/53/image_06042025_09_53_53_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350187213","1350187212","1350187215","1350187218","1350187220","1350187225"],"photo_ids_order":["1350187212","1350187213","1350187215","1350187218","1350187220","1350187225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/621643d972ce4246c543d368cb96d335.jpg","text":"TemporaryFile(/tmp/multipartBody837831432366360481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967402632,"filename":"image_06042025_09_53_03_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f167c591b9ea42d9c838411d9eded219.jpg","text":"TemporaryFile(/tmp/multipartBody5055332739914032380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967402632,"filename":"image_06042025_09_52_53_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/dbe2e052d8a028ce086f4cb1704e0c3f.jpg","text":"TemporaryFile(/tmp/multipartBody6459698655277930145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967402632,"filename":"image_06042025_09_53_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/4/6/26fe1ee4859c18066492c36d2088700a.jpg","text":"TemporaryFile(/tmp/multipartBody7157521221642561785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967402632,"filename":"image_06042025_09_53_21_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b388eb5d83486bf8aeecaaa5b440fef5.jpg","text":"TemporaryFile(/tmp/multipartBody4007352645606885745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967402632,"filename":"image_06042025_09_53_38_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/49752369298dc761c8e8baa1d1d8829f.jpg","text":"TemporaryFile(/tmp/multipartBody8746565582652096434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967402632,"filename":"image_06042025_09_53_53_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350187215","file1":"1350187213","file0":"1350187212","file4":"1350187220","file5":"1350187225","file3":"1350187218"},"map_files_photo_id_array":[{"photo_id":"1350187225","filename":"file5"},{"photo_id":"1350187215","filename":"file2"},{"photo_id":"1350187220","filename":"file4"},{"photo_id":"1350187213","filename":"file1"},{"photo_id":"1350187212","filename":"file0"},{"photo_id":"1350187218","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350187213":["hashtag1","hashtag2"]},{"1350187212":["hashtag1","hashtag2"]},{"1350187215":["hashtag1","hashtag2"]},{"1350187218":["hashtag1","hashtag2"]},{"1350187220":["hashtag1","hashtag2"]},{"1350187225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350187213, 1350187212, 1350187215, 1350187218, 1350187220, 1350187225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16539239883423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:23:03.178389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_08_2849.jpg', '/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_11_3603.jpg', '/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_17_2669.jpg', '/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_35_2536.jpg', '/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_44_2653.jpg', '/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_56_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_08_2849.jpg
/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_11_3603.jpg
/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_17_2669.jpg
/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_35_2536.jpg
/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_44_2653.jpg
/home/pi/Desktop/images/06042025/09/54/image_06042025_09_54_56_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350187320","1350187314","1350187325","1350187321","1350187324","1350187318"],"photo_ids_order":["1350187314","1350187318","1350187320","1350187321","1350187324","1350187325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3e817f33fb2dfbb07363b09d046d3186.jpg","text":"TemporaryFile(/tmp/multipartBody1333180910743911951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967444048,"filename":"image_06042025_09_54_17_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/685412a0e01ed61b15ae6d5d38ba803c.jpg","text":"TemporaryFile(/tmp/multipartBody6042631103964488487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967444048,"filename":"image_06042025_09_54_08_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e8de8480b162f39d39a8062e6349e12e.jpg","text":"TemporaryFile(/tmp/multipartBody6773053954903465711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967444048,"filename":"image_06042025_09_54_56_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/478b3225e6693b23c9186d2ef9af53f4.jpg","text":"TemporaryFile(/tmp/multipartBody4165584996692105445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967444048,"filename":"image_06042025_09_54_35_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c64ad584c21dfd01c91f542b91cf3502.jpg","text":"TemporaryFile(/tmp/multipartBody957263628959834440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967444048,"filename":"image_06042025_09_54_44_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4b8ae3765661b3fa8b1ef6548bd70976.jpg","text":"TemporaryFile(/tmp/multipartBody8352886413417002581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967444048,"filename":"image_06042025_09_54_11_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350187320","file1":"1350187318","file0":"1350187314","file4":"1350187324","file5":"1350187325","file3":"1350187321"},"map_files_photo_id_array":[{"photo_id":"1350187325","filename":"file5"},{"photo_id":"1350187320","filename":"file2"},{"photo_id":"1350187324","filename":"file4"},{"photo_id":"1350187318","filename":"file1"},{"photo_id":"1350187314","filename":"file0"},{"photo_id":"1350187321","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350187320":["hashtag1","hashtag2"]},{"1350187314":["hashtag1","hashtag2"]},{"1350187325":["hashtag1","hashtag2"]},{"1350187321":["hashtag1","hashtag2"]},{"1350187324":["hashtag1","hashtag2"]},{"1350187318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350187320, 1350187314, 1350187325, 1350187321, 1350187324, 1350187318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.596086263656616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:23:42.609073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_08_2735.jpg', '/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_20_3609.jpg', '/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_26_2860.jpg', '/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_56_3785.jpg', '/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_08_3173.jpg', '/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_14_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_08_2735.jpg
/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_20_3609.jpg
/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_26_2860.jpg
/home/pi/Desktop/images/06042025/09/55/image_06042025_09_55_56_3785.jpg
/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_08_3173.jpg
/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_14_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":["1350187482","1350187461","1350187479","1350187449","1350187428","1350187481"],"photo_ids_order":["1350187428","1350187449","1350187461","1350187479","1350187481","1350187482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/854058edf84c9c7ed511ff902315a84c.jpg","text":"TemporaryFile(/tmp/multipartBody8971700935205946168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967483314,"filename":"image_06042025_09_56_14_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4ba25d682fe3af92e08507402a17e4fa.jpg","text":"TemporaryFile(/tmp/multipartBody3611467957013771623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967483314,"filename":"image_06042025_09_55_26_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/09303ab5a1f9ff8a0fffe862c500aec7.jpg","text":"TemporaryFile(/tmp/multipartBody3304178573405844936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967483314,"filename":"image_06042025_09_55_56_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c7f256f3cdca3d06e61107a4c10ef072.jpg","text":"TemporaryFile(/tmp/multipartBody9152409330214250468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967483314,"filename":"image_06042025_09_55_20_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fdc78d66b3c8a63d0cd91d19c697caf2.jpg","text":"TemporaryFile(/tmp/multipartBody9122759381953382129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967483314,"filename":"image_06042025_09_55_08_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/76afcea2ff3972a6a842c519b1ec029a.jpg","text":"TemporaryFile(/tmp/multipartBody8098203934534428024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967483314,"filename":"image_06042025_09_56_08_3173.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350187461","file1":"1350187449","file0":"1350187428","file4":"1350187481","file5":"1350187482","file3":"1350187479"},"map_files_photo_id_array":[{"photo_id":"1350187482","filename":"file5"},{"photo_id":"1350187461","filename":"file2"},{"photo_id":"1350187481","filename":"file4"},{"photo_id":"1350187449","filename":"file1"},{"photo_id":"1350187428","filename":"file0"},{"photo_id":"1350187479","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350187482":["hashtag1","hashtag2"]},{"1350187461":["hashtag1","hashtag2"]},{"1350187479":["hashtag1","hashtag2"]},{"1350187449":["hashtag1","hashtag2"]},{"1350187428":["hashtag1","hashtag2"]},{"1350187481":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350187482, 1350187461, 1350187479, 1350187449, 1350187428, 1350187481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33781290054321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:24:41.840920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_26_2788.jpg', '/home/pi/Desktop/images/06042025/09/57/image_06042025_09_57_16_2683.jpg', '/home/pi/Desktop/images/06042025/09/57/image_06042025_09_57_28_2694.jpg', '/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_02_2793.jpg', '/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_04_2795.jpg', '/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_11_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/56/image_06042025_09_56_26_2788.jpg
/home/pi/Desktop/images/06042025/09/57/image_06042025_09_57_16_2683.jpg
/home/pi/Desktop/images/06042025/09/57/image_06042025_09_57_28_2694.jpg
/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_02_2793.jpg
/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_04_2795.jpg
/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_11_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350187504","1350187502","1350187495","1350187498","1350187507","1350187491"],"photo_ids_order":["1350187491","1350187495","1350187498","1350187502","1350187504","1350187507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f88d9e04cccc7953e2719078b11463d9.jpg","text":"TemporaryFile(/tmp/multipartBody2801816172671892326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967542556,"filename":"image_06042025_09_59_04_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/deed2caff888613eec4c5a5493e859c9.jpg","text":"TemporaryFile(/tmp/multipartBody892778373864281975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967542556,"filename":"image_06042025_09_59_02_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/40f512698c0770d2841b1339ab706b2d.jpg","text":"TemporaryFile(/tmp/multipartBody4939875364188511673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967542556,"filename":"image_06042025_09_57_16_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/629e70e076a322afe881f2e37c3d323d.jpg","text":"TemporaryFile(/tmp/multipartBody4065342700498853664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967542556,"filename":"image_06042025_09_57_28_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/03ee70a6214bf8a90e9c107a3bcb36b0.jpg","text":"TemporaryFile(/tmp/multipartBody6806503820894136320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967542556,"filename":"image_06042025_09_59_11_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/150e93cf1e8db98c9d60bc19cc0e6d77.jpg","text":"TemporaryFile(/tmp/multipartBody6135152953149077777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967542556,"filename":"image_06042025_09_56_26_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350187498","file1":"1350187495","file0":"1350187491","file4":"1350187504","file5":"1350187507","file3":"1350187502"},"map_files_photo_id_array":[{"photo_id":"1350187507","filename":"file5"},{"photo_id":"1350187498","filename":"file2"},{"photo_id":"1350187504","filename":"file4"},{"photo_id":"1350187495","filename":"file1"},{"photo_id":"1350187491","filename":"file0"},{"photo_id":"1350187502","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350187504":["hashtag1","hashtag2"]},{"1350187502":["hashtag1","hashtag2"]},{"1350187495":["hashtag1","hashtag2"]},{"1350187498":["hashtag1","hashtag2"]},{"1350187507":["hashtag1","hashtag2"]},{"1350187491":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350187504, 1350187502, 1350187495, 1350187498, 1350187507, 1350187491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.566312074661255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:25:21.863879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_20_2646.jpg', '/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_32_2880.jpg', '/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_41_3594.jpg', '/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_46_2701.jpg', '/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_58_2649.jpg', '/home/pi/Desktop/images/06042025/10/00/image_06042025_10_00_56_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_20_2646.jpg
/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_32_2880.jpg
/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_41_3594.jpg
/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_46_2701.jpg
/home/pi/Desktop/images/06042025/09/59/image_06042025_09_59_58_2649.jpg
/home/pi/Desktop/images/06042025/10/00/image_06042025_10_00_56_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350187569","1350187551","1350187562","1350187520","1350187544","1350187513"],"photo_ids_order":["1350187513","1350187520","1350187544","1350187551","1350187562","1350187569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5054d549588252e0fd225b944aa12470.jpg","text":"TemporaryFile(/tmp/multipartBody4239628251535736947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967582567,"filename":"image_06042025_10_00_56_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5130d88d646f0af67ca0ab1e460d0bf2.jpg","text":"TemporaryFile(/tmp/multipartBody9060169703485534137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967582567,"filename":"image_06042025_09_59_46_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d12c0ee01296b7a979a91f277a7a6cf1.jpg","text":"TemporaryFile(/tmp/multipartBody1805011570625843951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967582567,"filename":"image_06042025_09_59_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/4/6/cd30b77162fb6a4bff9bbeb07d59d05a.jpg","text":"TemporaryFile(/tmp/multipartBody6708407104495220929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967582567,"filename":"image_06042025_09_59_32_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1794de2ae8664d4a3dfd937f51f15ce6.jpg","text":"TemporaryFile(/tmp/multipartBody3317226461422536926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967582567,"filename":"image_06042025_09_59_41_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6bc819373e80a7a4bf0e78ce5be51635.jpg","text":"TemporaryFile(/tmp/multipartBody1141764703895164812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967582567,"filename":"image_06042025_09_59_20_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350187544","file1":"1350187520","file0":"1350187513","file4":"1350187562","file5":"1350187569","file3":"1350187551"},"map_files_photo_id_array":[{"photo_id":"1350187569","filename":"file5"},{"photo_id":"1350187544","filename":"file2"},{"photo_id":"1350187562","filename":"file4"},{"photo_id":"1350187520","filename":"file1"},{"photo_id":"1350187513","filename":"file0"},{"photo_id":"1350187551","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350187569":["hashtag1","hashtag2"]},{"1350187551":["hashtag1","hashtag2"]},{"1350187562":["hashtag1","hashtag2"]},{"1350187520":["hashtag1","hashtag2"]},{"1350187544":["hashtag1","hashtag2"]},{"1350187513":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350187569, 1350187551, 1350187562, 1350187520, 1350187544, 1350187513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74598526954651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:26:02.617934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_14_3764.jpg', '/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_28_2680.jpg', '/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_32_3692.jpg', '/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_26_3659.jpg', '/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_29_2787.jpg', '/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_38_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_14_3764.jpg
/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_28_2680.jpg
/home/pi/Desktop/images/06042025/10/01/image_06042025_10_01_32_3692.jpg
/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_26_3659.jpg
/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_29_2787.jpg
/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_38_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350187677","1350187731","1350187679","1350187733","1350187724","1350187654"],"photo_ids_order":["1350187654","1350187677","1350187679","1350187724","1350187731","1350187733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c40b8af22f31f2d11f565df5bf76ca67.jpg","text":"TemporaryFile(/tmp/multipartBody3048980466672869714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967623390,"filename":"image_06042025_10_01_28_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cc015ce34dd0c94866c8e02d0ed65f02.jpg","text":"TemporaryFile(/tmp/multipartBody857490430938965087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967623390,"filename":"image_06042025_10_02_29_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/273b7407f1dc845d9a66bb326c76c666.jpg","text":"TemporaryFile(/tmp/multipartBody7533076559148598786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967623390,"filename":"image_06042025_10_01_32_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bb5b1406d1e36afc3e8d11a52f2e3f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5653567559970636493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967623390,"filename":"image_06042025_10_02_38_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/be917bd3791bed665779e9685e486783.jpg","text":"TemporaryFile(/tmp/multipartBody1080664562660616955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967623390,"filename":"image_06042025_10_02_26_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6c2b6f550695efc81677c81686205193.jpg","text":"TemporaryFile(/tmp/multipartBody3266418739777858792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967623390,"filename":"image_06042025_10_01_14_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350187679","file1":"1350187677","file0":"1350187654","file4":"1350187731","file5":"1350187733","file3":"1350187724"},"map_files_photo_id_array":[{"photo_id":"1350187733","filename":"file5"},{"photo_id":"1350187679","filename":"file2"},{"photo_id":"1350187731","filename":"file4"},{"photo_id":"1350187677","filename":"file1"},{"photo_id":"1350187654","filename":"file0"},{"photo_id":"1350187724","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350187677":["hashtag1","hashtag2"]},{"1350187731":["hashtag1","hashtag2"]},{"1350187679":["hashtag1","hashtag2"]},{"1350187733":["hashtag1","hashtag2"]},{"1350187724":["hashtag1","hashtag2"]},{"1350187654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350187677, 1350187731, 1350187679, 1350187733, 1350187724, 1350187654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50351810455322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:26:41.984910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_59_2700.jpg', '/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_05_3694.jpg', '/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_26_2779.jpg', '/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_55_2583.jpg', '/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_59_3832.jpg', '/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_38_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/02/image_06042025_10_02_59_2700.jpg
/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_05_3694.jpg
/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_26_2779.jpg
/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_55_2583.jpg
/home/pi/Desktop/images/06042025/10/03/image_06042025_10_03_59_3832.jpg
/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_38_3613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350187929","1350187862","1350187886","1350187919","1350187870","1350187972"],"photo_ids_order":["1350187862","1350187870","1350187886","1350187919","1350187929","1350187972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f29b1d6d16fc78b87b2a6af313a88f90.jpg","text":"TemporaryFile(/tmp/multipartBody292795075534283617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967662686,"filename":"image_06042025_10_03_59_3832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8a58ceeaea7b421e7a4b778c1dc32351.jpg","text":"TemporaryFile(/tmp/multipartBody6942996816959299573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967662686,"filename":"image_06042025_10_02_59_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0c69002641947b6f530f1075491058a7.jpg","text":"TemporaryFile(/tmp/multipartBody6976107914858348065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967662686,"filename":"image_06042025_10_03_26_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3fe8cea33d87fbfec7c05bfb309f6f46.jpg","text":"TemporaryFile(/tmp/multipartBody3843450171420727003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967662686,"filename":"image_06042025_10_03_55_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9010e5ea6622ede2a19acfd303c0bb1a.jpg","text":"TemporaryFile(/tmp/multipartBody71913181460651602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967662686,"filename":"image_06042025_10_03_05_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ff39ce8c6991d10dafa6e10a0329fc03.jpg","text":"TemporaryFile(/tmp/multipartBody553609834196631927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967662686,"filename":"image_06042025_10_04_38_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350187886","file1":"1350187870","file0":"1350187862","file4":"1350187929","file5":"1350187972","file3":"1350187919"},"map_files_photo_id_array":[{"photo_id":"1350187972","filename":"file5"},{"photo_id":"1350187886","filename":"file2"},{"photo_id":"1350187929","filename":"file4"},{"photo_id":"1350187870","filename":"file1"},{"photo_id":"1350187862","filename":"file0"},{"photo_id":"1350187919","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350187929":["hashtag1","hashtag2"]},{"1350187862":["hashtag1","hashtag2"]},{"1350187886":["hashtag1","hashtag2"]},{"1350187919":["hashtag1","hashtag2"]},{"1350187870":["hashtag1","hashtag2"]},{"1350187972":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350187929, 1350187862, 1350187886, 1350187919, 1350187870, 1350187972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80537700653076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:27:22.084418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_40_2561.jpg', '/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_52_2721.jpg', '/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_59_2673.jpg', '/home/pi/Desktop/images/06042025/10/05/image_06042025_10_05_11_3725.jpg', '/home/pi/Desktop/images/06042025/10/05/image_06042025_10_05_46_2672.jpg', '/home/pi/Desktop/images/06042025/10/05/image_06042025_10_05_55_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_40_2561.jpg
/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_52_2721.jpg
/home/pi/Desktop/images/06042025/10/04/image_06042025_10_04_59_2673.jpg
/home/pi/Desktop/images/06042025/10/05/image_06042025_10_05_11_3725.jpg
/home/pi/Desktop/images/06042025/10/05/image_06042025_10_05_46_2672.jpg
/home/pi/Desktop/images/06042025/10/05/image_06042025_10_05_55_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350188007","1350188024","1350188006","1350188035","1350188029","1350188058"],"photo_ids_order":["1350188006","1350188007","1350188024","1350188029","1350188035","1350188058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/41fad3b890b7ab2e8f99e11a672fbede.jpg","text":"TemporaryFile(/tmp/multipartBody3040921239637723568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967702794,"filename":"image_06042025_10_04_52_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f4251667eaf02ad1814e9327e11fe6f5.jpg","text":"TemporaryFile(/tmp/multipartBody381686990585165986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967702794,"filename":"image_06042025_10_04_59_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d7291007c427512a4af569626494106d.jpg","text":"TemporaryFile(/tmp/multipartBody735784822626758369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967702794,"filename":"image_06042025_10_04_40_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/637edd7cbba9f1a4243dd58bb3ce78bd.jpg","text":"TemporaryFile(/tmp/multipartBody8445271939934080084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967702794,"filename":"image_06042025_10_05_46_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e18ad943bfe3776822862af22e7ad3a5.jpg","text":"TemporaryFile(/tmp/multipartBody8979154700309094180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967702794,"filename":"image_06042025_10_05_11_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1df4acc10c77f1cffef2565a205211e4.jpg","text":"TemporaryFile(/tmp/multipartBody2609844093580242095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967702794,"filename":"image_06042025_10_05_55_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350188024","file1":"1350188007","file0":"1350188006","file4":"1350188035","file5":"1350188058","file3":"1350188029"},"map_files_photo_id_array":[{"photo_id":"1350188058","filename":"file5"},{"photo_id":"1350188024","filename":"file2"},{"photo_id":"1350188035","filename":"file4"},{"photo_id":"1350188007","filename":"file1"},{"photo_id":"1350188006","filename":"file0"},{"photo_id":"1350188029","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350188007":["hashtag1","hashtag2"]},{"1350188024":["hashtag1","hashtag2"]},{"1350188006":["hashtag1","hashtag2"]},{"1350188035":["hashtag1","hashtag2"]},{"1350188029":["hashtag1","hashtag2"]},{"1350188058":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350188007, 1350188024, 1350188006, 1350188035, 1350188029, 1350188058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.769304513931274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:28:02.687698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/06/image_06042025_10_06_08_3528.jpg', '/home/pi/Desktop/images/06042025/10/06/image_06042025_10_06_11_2823.jpg', '/home/pi/Desktop/images/06042025/10/06/image_06042025_10_06_13_2564.jpg', '/home/pi/Desktop/images/06042025/10/06/image_06042025_10_06_28_2785.jpg', '/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_04_2884.jpg', '/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_22_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/06/image_06042025_10_06_08_3528.jpg
/home/pi/Desktop/images/06042025/10/06/image_06042025_10_06_11_2823.jpg
/home/pi/Desktop/images/06042025/10/06/image_06042025_10_06_13_2564.jpg
/home/pi/Desktop/images/06042025/10/06/image_06042025_10_06_28_2785.jpg
/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_04_2884.jpg
/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_22_3562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350188127","1350188115","1350188129","1350188117","1350188185","1350188137"],"photo_ids_order":["1350188115","1350188117","1350188127","1350188129","1350188137","1350188185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6a11ef2c2be1ffced2f13edf2b315b01.jpg","text":"TemporaryFile(/tmp/multipartBody5536560704185852270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967743479,"filename":"image_06042025_10_06_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/4/6/d756b50f8311bb95cc2228238da9f053.jpg","text":"TemporaryFile(/tmp/multipartBody166411122930714282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967743479,"filename":"image_06042025_10_06_08_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f343166ac72abc53627b1eff33b717c8.jpg","text":"TemporaryFile(/tmp/multipartBody8251676503411584296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967743479,"filename":"image_06042025_10_06_28_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ee07294699e8ffd16037b2e827ca8165.jpg","text":"TemporaryFile(/tmp/multipartBody3914605237230041904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967743479,"filename":"image_06042025_10_06_11_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f9354c9719102f744916fb763910b5c7.jpg","text":"TemporaryFile(/tmp/multipartBody2526708260986140725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967743479,"filename":"image_06042025_10_07_22_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ea60cbe17919108f4355757cca2ad31a.jpg","text":"TemporaryFile(/tmp/multipartBody4176870191621153738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967743479,"filename":"image_06042025_10_07_04_2884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350188127","file1":"1350188117","file0":"1350188115","file4":"1350188137","file5":"1350188185","file3":"1350188129"},"map_files_photo_id_array":[{"photo_id":"1350188185","filename":"file5"},{"photo_id":"1350188127","filename":"file2"},{"photo_id":"1350188137","filename":"file4"},{"photo_id":"1350188117","filename":"file1"},{"photo_id":"1350188115","filename":"file0"},{"photo_id":"1350188129","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350188127":["hashtag1","hashtag2"]},{"1350188115":["hashtag1","hashtag2"]},{"1350188129":["hashtag1","hashtag2"]},{"1350188117":["hashtag1","hashtag2"]},{"1350188185":["hashtag1","hashtag2"]},{"1350188137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350188127, 1350188115, 1350188129, 1350188117, 1350188185, 1350188137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77928400039673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:28:42.125433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_25_2740.jpg', '/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_28_2603.jpg', '/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_46_3644.jpg', '/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_16_2729.jpg', '/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_20_3578.jpg', '/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_22_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_25_2740.jpg
/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_28_2603.jpg
/home/pi/Desktop/images/06042025/10/07/image_06042025_10_07_46_3644.jpg
/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_16_2729.jpg
/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_20_3578.jpg
/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_22_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350188514","1350188480","1350188516","1350188519","1350188509","1350188484"],"photo_ids_order":["1350188480","1350188484","1350188509","1350188514","1350188516","1350188519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/803f08916ff7b9b326875864780c1f66.jpg","text":"TemporaryFile(/tmp/multipartBody1424063460378193888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967782839,"filename":"image_06042025_10_08_16_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b0e54c8f465eefcbae25b05e87b0ff3b.jpg","text":"TemporaryFile(/tmp/multipartBody7061795531867161624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967782839,"filename":"image_06042025_10_07_25_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bb19db1cf166bdc827de81feb0da0036.jpg","text":"TemporaryFile(/tmp/multipartBody267838855961623502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967782839,"filename":"image_06042025_10_08_20_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/70c60df5e9dc35cd8f8aa0e62c5d30f5.jpg","text":"TemporaryFile(/tmp/multipartBody3345291545429301021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967782839,"filename":"image_06042025_10_08_22_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7d9ebf1df12deafa5ad2c464b6a1ca9b.jpg","text":"TemporaryFile(/tmp/multipartBody3669048964767107694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967782839,"filename":"image_06042025_10_07_46_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c5c9595475facf2cb95fbe004e9d7b03.jpg","text":"TemporaryFile(/tmp/multipartBody2765240792917054875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967782839,"filename":"image_06042025_10_07_28_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350188509","file1":"1350188484","file0":"1350188480","file4":"1350188516","file5":"1350188519","file3":"1350188514"},"map_files_photo_id_array":[{"photo_id":"1350188519","filename":"file5"},{"photo_id":"1350188509","filename":"file2"},{"photo_id":"1350188516","filename":"file4"},{"photo_id":"1350188484","filename":"file1"},{"photo_id":"1350188480","filename":"file0"},{"photo_id":"1350188514","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350188514":["hashtag1","hashtag2"]},{"1350188480":["hashtag1","hashtag2"]},{"1350188516":["hashtag1","hashtag2"]},{"1350188519":["hashtag1","hashtag2"]},{"1350188509":["hashtag1","hashtag2"]},{"1350188484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350188514, 1350188480, 1350188516, 1350188519, 1350188509, 1350188484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72908592224121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:29:22.455700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_25_2751.jpg', '/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_28_3571.jpg', '/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_01_2826.jpg', '/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_19_3679.jpg', '/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_28_3605.jpg', '/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_31_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_25_2751.jpg
/home/pi/Desktop/images/06042025/10/08/image_06042025_10_08_28_3571.jpg
/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_01_2826.jpg
/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_19_3679.jpg
/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_28_3605.jpg
/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_31_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350188541","1350188523","1350188536","1350188524","1350188527","1350188532"],"photo_ids_order":["1350188523","1350188524","1350188527","1350188532","1350188536","1350188541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/54003ca0919137f70a461c9ceea40568.jpg","text":"TemporaryFile(/tmp/multipartBody4747070429512089048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967823153,"filename":"image_06042025_10_09_31_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5810233a59e5859f4cde14cab7818943.jpg","text":"TemporaryFile(/tmp/multipartBody521756000455824583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967823153,"filename":"image_06042025_10_08_25_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b873027a6753cbe59ea3c915226b254f.jpg","text":"TemporaryFile(/tmp/multipartBody1310734727689273028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967823153,"filename":"image_06042025_10_09_28_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/59540c475506e15c988fece01e2ea4b1.jpg","text":"TemporaryFile(/tmp/multipartBody7500111406433281801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967823153,"filename":"image_06042025_10_08_28_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cb93a6381b5327a89df099b199919fb8.jpg","text":"TemporaryFile(/tmp/multipartBody2593100135897644945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967823153,"filename":"image_06042025_10_09_01_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/91e605d68de4152b3afa525be58317b8.jpg","text":"TemporaryFile(/tmp/multipartBody7523091444178933853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967823153,"filename":"image_06042025_10_09_19_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350188527","file1":"1350188524","file0":"1350188523","file4":"1350188536","file5":"1350188541","file3":"1350188532"},"map_files_photo_id_array":[{"photo_id":"1350188541","filename":"file5"},{"photo_id":"1350188527","filename":"file2"},{"photo_id":"1350188536","filename":"file4"},{"photo_id":"1350188524","filename":"file1"},{"photo_id":"1350188523","filename":"file0"},{"photo_id":"1350188532","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350188541":["hashtag1","hashtag2"]},{"1350188523":["hashtag1","hashtag2"]},{"1350188536":["hashtag1","hashtag2"]},{"1350188524":["hashtag1","hashtag2"]},{"1350188527":["hashtag1","hashtag2"]},{"1350188532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350188541, 1350188523, 1350188536, 1350188524, 1350188527, 1350188532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65538001060486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:30:02.971612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_36_2771.jpg', '/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_40_3682.jpg', '/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_49_3570.jpg', '/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_52_2672.jpg', '/home/pi/Desktop/images/06042025/10/10/image_06042025_10_10_14_2676.jpg', '/home/pi/Desktop/images/06042025/10/10/image_06042025_10_10_35_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_36_2771.jpg
/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_40_3682.jpg
/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_49_3570.jpg
/home/pi/Desktop/images/06042025/10/09/image_06042025_10_09_52_2672.jpg
/home/pi/Desktop/images/06042025/10/10/image_06042025_10_10_14_2676.jpg
/home/pi/Desktop/images/06042025/10/10/image_06042025_10_10_35_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350188625","1350188660","1350188576","1350188624","1350188662","1350188623"],"photo_ids_order":["1350188576","1350188623","1350188624","1350188625","1350188660","1350188662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ba4608641ee4da110b1b69ce0f059853.jpg","text":"TemporaryFile(/tmp/multipartBody9065804161760991744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967866639,"filename":"image_06042025_10_09_52_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d90b167751036aa56234495637875123.jpg","text":"TemporaryFile(/tmp/multipartBody546928388625892310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967866639,"filename":"image_06042025_10_10_14_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4215852cd6017bb130940a4c882fbe57.jpg","text":"TemporaryFile(/tmp/multipartBody6321523433668609752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967866639,"filename":"image_06042025_10_09_36_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0ff02bbc5c180b11bac9ea1f869f64a7.jpg","text":"TemporaryFile(/tmp/multipartBody7322189041375100142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967866639,"filename":"image_06042025_10_09_49_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8fd3440305de97158ef5617f2a0cea8b.jpg","text":"TemporaryFile(/tmp/multipartBody7111857739332033694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967866639,"filename":"image_06042025_10_10_35_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2c88769658f94428bcb9bea51c216436.jpg","text":"TemporaryFile(/tmp/multipartBody8620563829525061217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967866639,"filename":"image_06042025_10_09_40_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350188624","file1":"1350188623","file0":"1350188576","file4":"1350188660","file5":"1350188662","file3":"1350188625"},"map_files_photo_id_array":[{"photo_id":"1350188662","filename":"file5"},{"photo_id":"1350188624","filename":"file2"},{"photo_id":"1350188660","filename":"file4"},{"photo_id":"1350188623","filename":"file1"},{"photo_id":"1350188576","filename":"file0"},{"photo_id":"1350188625","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350188625":["hashtag1","hashtag2"]},{"1350188660":["hashtag1","hashtag2"]},{"1350188576":["hashtag1","hashtag2"]},{"1350188624":["hashtag1","hashtag2"]},{"1350188662":["hashtag1","hashtag2"]},{"1350188623":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350188625, 1350188660, 1350188576, 1350188624, 1350188662, 1350188623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64876389503479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:30:42.334174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/10/image_06042025_10_10_44_2516.jpg', '/home/pi/Desktop/images/06042025/10/11/image_06042025_10_11_08_3612.jpg', '/home/pi/Desktop/images/06042025/10/11/image_06042025_10_11_14_2688.jpg', '/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_05_2709.jpg', '/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_26_2657.jpg', '/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_39_1548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/10/image_06042025_10_10_44_2516.jpg
/home/pi/Desktop/images/06042025/10/11/image_06042025_10_11_08_3612.jpg
/home/pi/Desktop/images/06042025/10/11/image_06042025_10_11_14_2688.jpg
/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_05_2709.jpg
/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_26_2657.jpg
/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_39_1548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350188693","1350188696","1350188671","1350188694","1350188676","1350188688"],"photo_ids_order":["1350188671","1350188676","1350188688","1350188693","1350188694","1350188696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5a7a38051c088392601f2cd73344990d.jpg","text":"TemporaryFile(/tmp/multipartBody2404009957415586048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967903097,"filename":"image_06042025_10_12_05_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/41b96cd5a249695aa225bb5f85bb7819.jpg","text":"TemporaryFile(/tmp/multipartBody333152380404902928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967903097,"filename":"image_06042025_10_12_39_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6e239c9da0626488c288a1cb7d431ba7.jpg","text":"TemporaryFile(/tmp/multipartBody7296580640966784429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967903097,"filename":"image_06042025_10_10_44_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1f3f1b5a3525610badfb682ff34f9b42.jpg","text":"TemporaryFile(/tmp/multipartBody4182671844733697948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967903097,"filename":"image_06042025_10_12_26_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f47df486cd056e7c6e37d3607278b5db.jpg","text":"TemporaryFile(/tmp/multipartBody675410030510565308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967903097,"filename":"image_06042025_10_11_08_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bc8ed5da1c6ad402d1bb4c4dc7fafc22.jpg","text":"TemporaryFile(/tmp/multipartBody8344004256276179217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967903097,"filename":"image_06042025_10_11_14_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350188688","file1":"1350188676","file0":"1350188671","file4":"1350188694","file5":"1350188696","file3":"1350188693"},"map_files_photo_id_array":[{"photo_id":"1350188696","filename":"file5"},{"photo_id":"1350188688","filename":"file2"},{"photo_id":"1350188694","filename":"file4"},{"photo_id":"1350188676","filename":"file1"},{"photo_id":"1350188671","filename":"file0"},{"photo_id":"1350188693","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350188693":["hashtag1","hashtag2"]},{"1350188696":["hashtag1","hashtag2"]},{"1350188671":["hashtag1","hashtag2"]},{"1350188694":["hashtag1","hashtag2"]},{"1350188676":["hashtag1","hashtag2"]},{"1350188688":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350188693, 1350188696, 1350188671, 1350188694, 1350188676, 1350188688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.885823488235474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:31:22.561081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_54_3849.jpg', '/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_06_1738.jpg', '/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_20_2719.jpg', '/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_22_2891.jpg', '/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_56_3841.jpg', '/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_59_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/12/image_06042025_10_12_54_3849.jpg
/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_06_1738.jpg
/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_20_2719.jpg
/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_22_2891.jpg
/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_56_3841.jpg
/home/pi/Desktop/images/06042025/10/13/image_06042025_10_13_59_2780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350188712","1350188709","1350188717","1350188720","1350188725","1350188704"],"photo_ids_order":["1350188704","1350188709","1350188712","1350188717","1350188720","1350188725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3d2891ce153e0025ca3a3cfe85bbb6b5.jpg","text":"TemporaryFile(/tmp/multipartBody2279536300562053204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967943289,"filename":"image_06042025_10_13_20_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/392b0ad8fdb6d306031bb49abc003ffe.jpg","text":"TemporaryFile(/tmp/multipartBody6702903238848106235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967943289,"filename":"image_06042025_10_13_06_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2af0841cfaa6714e724b95990c874b20.jpg","text":"TemporaryFile(/tmp/multipartBody8207663703066345076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967943289,"filename":"image_06042025_10_13_22_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c7898504e2ca46f659b5ce0f15e5a533.jpg","text":"TemporaryFile(/tmp/multipartBody4872977480601896181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967943289,"filename":"image_06042025_10_13_56_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/11ac4c3154aa8e06d3caaf1a2f2e34e4.jpg","text":"TemporaryFile(/tmp/multipartBody8626609787002639319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967943289,"filename":"image_06042025_10_13_59_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5e58882dda0305ed8f58ac20348142fe.jpg","text":"TemporaryFile(/tmp/multipartBody7861106649976507751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967943289,"filename":"image_06042025_10_12_54_3849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350188712","file1":"1350188709","file0":"1350188704","file4":"1350188720","file5":"1350188725","file3":"1350188717"},"map_files_photo_id_array":[{"photo_id":"1350188725","filename":"file5"},{"photo_id":"1350188712","filename":"file2"},{"photo_id":"1350188720","filename":"file4"},{"photo_id":"1350188709","filename":"file1"},{"photo_id":"1350188704","filename":"file0"},{"photo_id":"1350188717","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350188712":["hashtag1","hashtag2"]},{"1350188709":["hashtag1","hashtag2"]},{"1350188717":["hashtag1","hashtag2"]},{"1350188720":["hashtag1","hashtag2"]},{"1350188725":["hashtag1","hashtag2"]},{"1350188704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350188712, 1350188709, 1350188717, 1350188720, 1350188725, 1350188704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18205428123474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:32:02.780607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_38_2846.jpg', '/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_59_3570.jpg', '/home/pi/Desktop/images/06042025/10/15/image_06042025_10_15_11_3699.jpg', '/home/pi/Desktop/images/06042025/10/15/image_06042025_10_15_34_2698.jpg', '/home/pi/Desktop/images/06042025/10/16/image_06042025_10_16_13_2756.jpg', '/home/pi/Desktop/images/06042025/10/16/image_06042025_10_16_28_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_38_2846.jpg
/home/pi/Desktop/images/06042025/10/14/image_06042025_10_14_59_3570.jpg
/home/pi/Desktop/images/06042025/10/15/image_06042025_10_15_11_3699.jpg
/home/pi/Desktop/images/06042025/10/15/image_06042025_10_15_34_2698.jpg
/home/pi/Desktop/images/06042025/10/16/image_06042025_10_16_13_2756.jpg
/home/pi/Desktop/images/06042025/10/16/image_06042025_10_16_28_2771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350188741","1350188735","1350188738","1350188743","1350188737","1350188739"],"photo_ids_order":["1350188735","1350188737","1350188738","1350188739","1350188741","1350188743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/04dd17d5c5020b9ca60b03d06fe37645.jpg","text":"TemporaryFile(/tmp/multipartBody7833666881599141814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967983593,"filename":"image_06042025_10_16_13_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a99cb578c669c3b007c2166d55ba5328.jpg","text":"TemporaryFile(/tmp/multipartBody2190161062139785589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967983593,"filename":"image_06042025_10_14_38_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/834b3c5db826548fbb411cd8f6c62fdd.jpg","text":"TemporaryFile(/tmp/multipartBody4642274473632272038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967983593,"filename":"image_06042025_10_15_11_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f1a34344c7acfe9235acf57f9520a20c.jpg","text":"TemporaryFile(/tmp/multipartBody4720069121711307299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967983593,"filename":"image_06042025_10_16_28_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cbe6dd34e82289850cb1adcbd9893104.jpg","text":"TemporaryFile(/tmp/multipartBody499076514965720928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967983593,"filename":"image_06042025_10_14_59_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/07b77ea5fcbc13a65e2cbe7bf218ebce.jpg","text":"TemporaryFile(/tmp/multipartBody4174122340879843254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743967983593,"filename":"image_06042025_10_15_34_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350188738","file1":"1350188737","file0":"1350188735","file4":"1350188741","file5":"1350188743","file3":"1350188739"},"map_files_photo_id_array":[{"photo_id":"1350188743","filename":"file5"},{"photo_id":"1350188738","filename":"file2"},{"photo_id":"1350188741","filename":"file4"},{"photo_id":"1350188737","filename":"file1"},{"photo_id":"1350188735","filename":"file0"},{"photo_id":"1350188739","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350188741":["hashtag1","hashtag2"]},{"1350188735":["hashtag1","hashtag2"]},{"1350188738":["hashtag1","hashtag2"]},{"1350188743":["hashtag1","hashtag2"]},{"1350188737":["hashtag1","hashtag2"]},{"1350188739":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350188741, 1350188735, 1350188738, 1350188743, 1350188737, 1350188739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0184371471405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:32:42.158946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/16/image_06042025_10_16_40_2680.jpg', '/home/pi/Desktop/images/06042025/10/16/image_06042025_10_16_43_3613.jpg', '/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_16_2650.jpg', '/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_28_3700.jpg', '/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_34_2629.jpg', '/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_52_2855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/16/image_06042025_10_16_40_2680.jpg
/home/pi/Desktop/images/06042025/10/16/image_06042025_10_16_43_3613.jpg
/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_16_2650.jpg
/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_28_3700.jpg
/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_34_2629.jpg
/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_52_2855.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350188753","1350188762","1350188764","1350188758","1350188763","1350188766"],"photo_ids_order":["1350188753","1350188758","1350188762","1350188763","1350188764","1350188766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6cc686fd0cb2603933935e9dc1b026f2.jpg","text":"TemporaryFile(/tmp/multipartBody266941502713431499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968022905,"filename":"image_06042025_10_16_40_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9aa37800b71d12b206c82f3805cdb306.jpg","text":"TemporaryFile(/tmp/multipartBody4672364900058702216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968022905,"filename":"image_06042025_10_18_16_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/58b9d9043a2f8e1a2049c05a98a0e351.jpg","text":"TemporaryFile(/tmp/multipartBody2154265253009282623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968022905,"filename":"image_06042025_10_18_34_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1044272d482c8018ee77202aecf240fc.jpg","text":"TemporaryFile(/tmp/multipartBody3083522736480938279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968022905,"filename":"image_06042025_10_16_43_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d9115db8b144663719d0669be7a681a0.jpg","text":"TemporaryFile(/tmp/multipartBody918799793533064963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968022905,"filename":"image_06042025_10_18_28_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b952c7351937659797f5d14848ecddf3.jpg","text":"TemporaryFile(/tmp/multipartBody6572218273166393680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968022905,"filename":"image_06042025_10_18_52_2855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350188762","file1":"1350188758","file0":"1350188753","file4":"1350188764","file5":"1350188766","file3":"1350188763"},"map_files_photo_id_array":[{"photo_id":"1350188766","filename":"file5"},{"photo_id":"1350188762","filename":"file2"},{"photo_id":"1350188764","filename":"file4"},{"photo_id":"1350188758","filename":"file1"},{"photo_id":"1350188753","filename":"file0"},{"photo_id":"1350188763","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350188753":["hashtag1","hashtag2"]},{"1350188762":["hashtag1","hashtag2"]},{"1350188764":["hashtag1","hashtag2"]},{"1350188758":["hashtag1","hashtag2"]},{"1350188763":["hashtag1","hashtag2"]},{"1350188766":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350188753, 1350188762, 1350188764, 1350188758, 1350188763, 1350188766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43753147125244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:33:22.367207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_58_3586.jpg', '/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_13_2672.jpg', '/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_16_2731.jpg', '/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_19_3674.jpg', '/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_22_2607.jpg', '/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_25_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/18/image_06042025_10_18_58_3586.jpg
/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_13_2672.jpg
/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_16_2731.jpg
/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_19_3674.jpg
/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_22_2607.jpg
/home/pi/Desktop/images/06042025/10/19/image_06042025_10_19_25_2786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350188805","1350188810","1350188794","1350188773","1350188775","1350188784"],"photo_ids_order":["1350188773","1350188775","1350188784","1350188794","1350188805","1350188810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e1d6850e20092e636047017c5d77ad3a.jpg","text":"TemporaryFile(/tmp/multipartBody502944124935700923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968063083,"filename":"image_06042025_10_19_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/4/6/7a611780b3ada3fd603700fc57de14d8.jpg","text":"TemporaryFile(/tmp/multipartBody7699070513365305653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968063083,"filename":"image_06042025_10_19_25_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ea8b3aacc046e8eed6221700d485cc07.jpg","text":"TemporaryFile(/tmp/multipartBody4260740772086366110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968063083,"filename":"image_06042025_10_19_19_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9a56b77ec5c5491562a3c24ff5153af8.jpg","text":"TemporaryFile(/tmp/multipartBody8423813430957330134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968063083,"filename":"image_06042025_10_18_58_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/941d79d6e23cbd3d7b8265383d84bdbf.jpg","text":"TemporaryFile(/tmp/multipartBody8197003527549575614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968063083,"filename":"image_06042025_10_19_13_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6ab1d2410684f6e9d39c3fc4b72902ac.jpg","text":"TemporaryFile(/tmp/multipartBody4661703397217983898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968063083,"filename":"image_06042025_10_19_16_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350188784","file1":"1350188775","file0":"1350188773","file4":"1350188805","file5":"1350188810","file3":"1350188794"},"map_files_photo_id_array":[{"photo_id":"1350188810","filename":"file5"},{"photo_id":"1350188784","filename":"file2"},{"photo_id":"1350188805","filename":"file4"},{"photo_id":"1350188775","filename":"file1"},{"photo_id":"1350188773","filename":"file0"},{"photo_id":"1350188794","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350188805":["hashtag1","hashtag2"]},{"1350188810":["hashtag1","hashtag2"]},{"1350188794":["hashtag1","hashtag2"]},{"1350188773":["hashtag1","hashtag2"]},{"1350188775":["hashtag1","hashtag2"]},{"1350188784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350188805, 1350188810, 1350188794, 1350188773, 1350188775, 1350188784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95834708213806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:34:02.892114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/21/image_06042025_10_21_31_2743.jpg', '/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_10_2702.jpg', '/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_25_2531.jpg', '/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_28_3656.jpg', '/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_13_2766.jpg', '/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_16_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/21/image_06042025_10_21_31_2743.jpg
/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_10_2702.jpg
/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_25_2531.jpg
/home/pi/Desktop/images/06042025/10/22/image_06042025_10_22_28_3656.jpg
/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_13_2766.jpg
/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_16_2801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350188861","1350188864","1350188858","1350188874","1350188862","1350188850"],"photo_ids_order":["1350188850","1350188858","1350188861","1350188862","1350188864","1350188874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b57b5b078ed8001bdf24629e5debb7c0.jpg","text":"TemporaryFile(/tmp/multipartBody4279610883974289562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968103836,"filename":"image_06042025_10_22_25_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a38df25d766d588cbd0b4466c85aa0f7.jpg","text":"TemporaryFile(/tmp/multipartBody514868035310956526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968103836,"filename":"image_06042025_10_23_13_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4eb6e172c7e31560ce18f14d21e9bdc7.jpg","text":"TemporaryFile(/tmp/multipartBody3807914432986787211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968103836,"filename":"image_06042025_10_22_10_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b61823835a807bea074d945909f3edbc.jpg","text":"TemporaryFile(/tmp/multipartBody5499186564829251759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968103836,"filename":"image_06042025_10_23_16_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c55845bb4a1f0bd2ef2cc0703463ef41.jpg","text":"TemporaryFile(/tmp/multipartBody6662343450946140649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968103836,"filename":"image_06042025_10_22_28_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/63409b21d95653c177356c48f7ef3e45.jpg","text":"TemporaryFile(/tmp/multipartBody4957598488258471778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968103836,"filename":"image_06042025_10_21_31_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350188861","file1":"1350188858","file0":"1350188850","file4":"1350188864","file5":"1350188874","file3":"1350188862"},"map_files_photo_id_array":[{"photo_id":"1350188874","filename":"file5"},{"photo_id":"1350188861","filename":"file2"},{"photo_id":"1350188864","filename":"file4"},{"photo_id":"1350188858","filename":"file1"},{"photo_id":"1350188850","filename":"file0"},{"photo_id":"1350188862","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350188861":["hashtag1","hashtag2"]},{"1350188864":["hashtag1","hashtag2"]},{"1350188858":["hashtag1","hashtag2"]},{"1350188874":["hashtag1","hashtag2"]},{"1350188862":["hashtag1","hashtag2"]},{"1350188850":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350188861, 1350188864, 1350188858, 1350188874, 1350188862, 1350188850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.881261587142944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:34:42.275398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_18_2713.jpg', '/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_22_3584.jpg', '/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_52_2803.jpg', '/home/pi/Desktop/images/06042025/10/24/image_06042025_10_24_48_2580.jpg', '/home/pi/Desktop/images/06042025/10/24/image_06042025_10_24_52_3712.jpg', '/home/pi/Desktop/images/06042025/10/24/image_06042025_10_25_00_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_18_2713.jpg
/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_22_3584.jpg
/home/pi/Desktop/images/06042025/10/23/image_06042025_10_23_52_2803.jpg
/home/pi/Desktop/images/06042025/10/24/image_06042025_10_24_48_2580.jpg
/home/pi/Desktop/images/06042025/10/24/image_06042025_10_24_52_3712.jpg
/home/pi/Desktop/images/06042025/10/24/image_06042025_10_25_00_2624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350188897","1350188894","1350188900","1350188890","1350188902","1350188886"],"photo_ids_order":["1350188886","1350188890","1350188894","1350188897","1350188900","1350188902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/28dad6d8f6ab3bf253337daea3bf4e89.jpg","text":"TemporaryFile(/tmp/multipartBody7528700232674707117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968142979,"filename":"image_06042025_10_24_48_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/abe5265ff02def8017007ca1e5012f3e.jpg","text":"TemporaryFile(/tmp/multipartBody1963180029085791927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968142979,"filename":"image_06042025_10_23_52_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bcf96069221b3b3b88ce621a1ba4c40b.jpg","text":"TemporaryFile(/tmp/multipartBody65311665363229824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968142979,"filename":"image_06042025_10_24_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/4/6/dc33ea11c6fa18626a7dce7d482ca864.jpg","text":"TemporaryFile(/tmp/multipartBody663853904290864511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968142979,"filename":"image_06042025_10_23_22_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ce618049dc60d3e4bcb750df8d5c8f3f.jpg","text":"TemporaryFile(/tmp/multipartBody220152708610967713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968142979,"filename":"image_06042025_10_25_00_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9a8f35e8e8e66d35047f8a8eb49f3c56.jpg","text":"TemporaryFile(/tmp/multipartBody2139336693770591494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968142979,"filename":"image_06042025_10_23_18_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350188894","file1":"1350188890","file0":"1350188886","file4":"1350188900","file5":"1350188902","file3":"1350188897"},"map_files_photo_id_array":[{"photo_id":"1350188902","filename":"file5"},{"photo_id":"1350188894","filename":"file2"},{"photo_id":"1350188900","filename":"file4"},{"photo_id":"1350188890","filename":"file1"},{"photo_id":"1350188886","filename":"file0"},{"photo_id":"1350188897","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350188897":["hashtag1","hashtag2"]},{"1350188894":["hashtag1","hashtag2"]},{"1350188900":["hashtag1","hashtag2"]},{"1350188890":["hashtag1","hashtag2"]},{"1350188902":["hashtag1","hashtag2"]},{"1350188886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350188897, 1350188894, 1350188900, 1350188890, 1350188902, 1350188886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17286539077759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:35:22.877845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/25/image_06042025_10_25_20_3851.jpg', '/home/pi/Desktop/images/06042025/10/25/image_06042025_10_25_32_2786.jpg', '/home/pi/Desktop/images/06042025/10/25/image_06042025_10_25_46_2804.jpg', '/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_04_2890.jpg', '/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_08_3691.jpg', '/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_52_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/25/image_06042025_10_25_20_3851.jpg
/home/pi/Desktop/images/06042025/10/25/image_06042025_10_25_32_2786.jpg
/home/pi/Desktop/images/06042025/10/25/image_06042025_10_25_46_2804.jpg
/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_04_2890.jpg
/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_08_3691.jpg
/home/pi/Desktop/images/06042025/10/26/image_06042025_10_26_52_2579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350188906","1350188926","1350188920","1350188914","1350188917","1350188937"],"photo_ids_order":["1350188906","1350188914","1350188917","1350188920","1350188926","1350188937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f52c98c9e9220c2392dfbeb347b593c2.jpg","text":"TemporaryFile(/tmp/multipartBody3457514084806362020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968183582,"filename":"image_06042025_10_25_20_3851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f8debb57eeaafcd4ca98a243c4f82566.jpg","text":"TemporaryFile(/tmp/multipartBody3693811573200607160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968183582,"filename":"image_06042025_10_26_08_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/eca266133f1ec680da283e76d06b4a29.jpg","text":"TemporaryFile(/tmp/multipartBody8016083401714214989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968183582,"filename":"image_06042025_10_26_04_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9391f3e9bd97d3945c83be1fe80c6cb7.jpg","text":"TemporaryFile(/tmp/multipartBody7093608964850206914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968183582,"filename":"image_06042025_10_25_32_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3bfd5340fc3d85a7cbfaaf9114e8c7b5.jpg","text":"TemporaryFile(/tmp/multipartBody5189928158871091543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968183582,"filename":"image_06042025_10_25_46_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8da937d76a0f0495801d2712a0dc2950.jpg","text":"TemporaryFile(/tmp/multipartBody9082452906596702742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968183582,"filename":"image_06042025_10_26_52_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350188917","file1":"1350188914","file0":"1350188906","file4":"1350188926","file5":"1350188937","file3":"1350188920"},"map_files_photo_id_array":[{"photo_id":"1350188937","filename":"file5"},{"photo_id":"1350188917","filename":"file2"},{"photo_id":"1350188926","filename":"file4"},{"photo_id":"1350188914","filename":"file1"},{"photo_id":"1350188906","filename":"file0"},{"photo_id":"1350188920","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350188906":["hashtag1","hashtag2"]},{"1350188926":["hashtag1","hashtag2"]},{"1350188920":["hashtag1","hashtag2"]},{"1350188914":["hashtag1","hashtag2"]},{"1350188917":["hashtag1","hashtag2"]},{"1350188937":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350188906, 1350188926, 1350188920, 1350188914, 1350188917, 1350188937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.98008966445923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:36:22.628110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_05_3580.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_07_2701.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_10_2700.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_14_3723.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_17_2966.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_28_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_05_3580.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_07_2701.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_10_2700.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_14_3723.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_17_2966.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_28_2565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350188946","1350189050","1350188978","1350188962","1350188965","1350188968"],"photo_ids_order":["1350188946","1350188962","1350188965","1350188968","1350188978","1350189050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/05205b90053f19ec72c26d0f49cf3123.jpg","text":"TemporaryFile(/tmp/multipartBody2918245620367794264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968243333,"filename":"image_06042025_10_27_05_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/610c51d2e30cf1d907ed7d017f4949a7.jpg","text":"TemporaryFile(/tmp/multipartBody5892392294927046608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968243333,"filename":"image_06042025_10_27_28_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bb63f0f974c5e0c7e39227b8438a7fd3.jpg","text":"TemporaryFile(/tmp/multipartBody1732400054374480678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968243333,"filename":"image_06042025_10_27_17_2966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a155c9b9e927d344532584f6011460e3.jpg","text":"TemporaryFile(/tmp/multipartBody8673883103001073740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968243333,"filename":"image_06042025_10_27_07_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7c1763c98c8a6f3b98173af6c1138413.jpg","text":"TemporaryFile(/tmp/multipartBody2129590563045901166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968243333,"filename":"image_06042025_10_27_10_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/160cac66bd884b80ff0a4dec03ebbd0e.jpg","text":"TemporaryFile(/tmp/multipartBody7225684458703447287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968243333,"filename":"image_06042025_10_27_14_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350188965","file1":"1350188962","file0":"1350188946","file4":"1350188978","file5":"1350189050","file3":"1350188968"},"map_files_photo_id_array":[{"photo_id":"1350189050","filename":"file5"},{"photo_id":"1350188965","filename":"file2"},{"photo_id":"1350188978","filename":"file4"},{"photo_id":"1350188962","filename":"file1"},{"photo_id":"1350188946","filename":"file0"},{"photo_id":"1350188968","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350188946":["hashtag1","hashtag2"]},{"1350189050":["hashtag1","hashtag2"]},{"1350188978":["hashtag1","hashtag2"]},{"1350188962":["hashtag1","hashtag2"]},{"1350188965":["hashtag1","hashtag2"]},{"1350188968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350188946, 1350189050, 1350188978, 1350188962, 1350188965, 1350188968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20563197135925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:37:03.227635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_37_2693.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_40_2672.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_43_2789.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_47_3708.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_50_2836.jpg', '/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_52_2948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_37_2693.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_40_2672.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_43_2789.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_47_3708.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_50_2836.jpg
/home/pi/Desktop/images/06042025/10/27/image_06042025_10_27_52_2948.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350189254","1350189206","1350189235","1350189184","1350189249","1350189243"],"photo_ids_order":["1350189184","1350189206","1350189235","1350189243","1350189249","1350189254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2e71a2bedff574cf104c209f7be279f6.jpg","text":"TemporaryFile(/tmp/multipartBody6301864474562113896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968284467,"filename":"image_06042025_10_27_52_2948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3a668e3bab4c9a05e98013bae49d0ba6.jpg","text":"TemporaryFile(/tmp/multipartBody1199412505684705731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968284467,"filename":"image_06042025_10_27_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/4/6/2995b8a779a25f345d349d813dde8446.jpg","text":"TemporaryFile(/tmp/multipartBody7517806499859072321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968284467,"filename":"image_06042025_10_27_43_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5d7defd70e2fb800e2346a29089b563c.jpg","text":"TemporaryFile(/tmp/multipartBody1156197595262679219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968284467,"filename":"image_06042025_10_27_37_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/210f5cb711405ab10ad22b7ca4f42f42.jpg","text":"TemporaryFile(/tmp/multipartBody321125663408474450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968284467,"filename":"image_06042025_10_27_50_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cd35b3875069038a7d4c4c8b0ceb7014.jpg","text":"TemporaryFile(/tmp/multipartBody6147040419109280696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968284467,"filename":"image_06042025_10_27_47_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350189235","file1":"1350189206","file0":"1350189184","file4":"1350189249","file5":"1350189254","file3":"1350189243"},"map_files_photo_id_array":[{"photo_id":"1350189254","filename":"file5"},{"photo_id":"1350189235","filename":"file2"},{"photo_id":"1350189249","filename":"file4"},{"photo_id":"1350189206","filename":"file1"},{"photo_id":"1350189184","filename":"file0"},{"photo_id":"1350189243","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350189254":["hashtag1","hashtag2"]},{"1350189206":["hashtag1","hashtag2"]},{"1350189235":["hashtag1","hashtag2"]},{"1350189184":["hashtag1","hashtag2"]},{"1350189249":["hashtag1","hashtag2"]},{"1350189243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350189254, 1350189206, 1350189235, 1350189184, 1350189249, 1350189243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.827916383743286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:38:02.671047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_11_3716.jpg', '/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_14_2793.jpg', '/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_19_2792.jpg', '/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_34_2693.jpg', '/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_37_2727.jpg', '/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_52_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_11_3716.jpg
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_14_2793.jpg
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_19_2792.jpg
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_34_2693.jpg
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_37_2727.jpg
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_52_3622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350189405","1350189410","1350189412","1350189396","1350189400","1350189393"],"photo_ids_order":["1350189393","1350189396","1350189400","1350189405","1350189410","1350189412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3be072ec607618bfbbe02c247cf42907.jpg","text":"TemporaryFile(/tmp/multipartBody9157959414587478801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968346194,"filename":"image_06042025_10_28_34_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a91b4123b07c7919b06cf285dca20d39.jpg","text":"TemporaryFile(/tmp/multipartBody8395747471556237240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968346194,"filename":"image_06042025_10_28_37_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/610dde6337e7cb84edeee8ed191aa971.jpg","text":"TemporaryFile(/tmp/multipartBody5786115432678658197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968346194,"filename":"image_06042025_10_28_52_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b15b66a8b8c3633455fe1a263106a93e.jpg","text":"TemporaryFile(/tmp/multipartBody7514445829668586506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968346194,"filename":"image_06042025_10_28_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/4/6/5b204e801d91a119e86599a4a3f99fd4.jpg","text":"TemporaryFile(/tmp/multipartBody6952575447272239864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968346194,"filename":"image_06042025_10_28_19_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/423ee67c223893727c4f1abffdc891b1.jpg","text":"TemporaryFile(/tmp/multipartBody8140312391167935731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968346194,"filename":"image_06042025_10_28_11_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350189400","file1":"1350189396","file0":"1350189393","file4":"1350189410","file5":"1350189412","file3":"1350189405"},"map_files_photo_id_array":[{"photo_id":"1350189412","filename":"file5"},{"photo_id":"1350189400","filename":"file2"},{"photo_id":"1350189410","filename":"file4"},{"photo_id":"1350189396","filename":"file1"},{"photo_id":"1350189393","filename":"file0"},{"photo_id":"1350189405","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350189405":["hashtag1","hashtag2"]},{"1350189410":["hashtag1","hashtag2"]},{"1350189412":["hashtag1","hashtag2"]},{"1350189396":["hashtag1","hashtag2"]},{"1350189400":["hashtag1","hashtag2"]},{"1350189393":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350189405, 1350189410, 1350189412, 1350189396, 1350189400, 1350189393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.007710456848145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:38:42.159427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_55_2785.jpg', '/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_02_3754.jpg', '/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_31_2033.jpg', '/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_40_2704.jpg', '/home/pi/Desktop/images/06042025/10/30/image_06042025_10_30_56_2741.jpg', '/home/pi/Desktop/images/06042025/10/31/image_06042025_10_31_34_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/28/image_06042025_10_28_55_2785.jpg
/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_02_3754.jpg
/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_31_2033.jpg
/home/pi/Desktop/images/06042025/10/29/image_06042025_10_29_40_2704.jpg
/home/pi/Desktop/images/06042025/10/30/image_06042025_10_30_56_2741.jpg
/home/pi/Desktop/images/06042025/10/31/image_06042025_10_31_34_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350189422","1350189433","1350189432","1350189426","1350189435","1350189429"],"photo_ids_order":["1350189422","1350189426","1350189429","1350189432","1350189433","1350189435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/11833b563c3fc442ac46b0740ac1303b.jpg","text":"TemporaryFile(/tmp/multipartBody4856267625506564942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968382905,"filename":"image_06042025_10_28_55_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7c7016d3642fcdee3b78886c34f81fa9.jpg","text":"TemporaryFile(/tmp/multipartBody8854429684913063154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968382905,"filename":"image_06042025_10_30_56_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f699e8b53a13ce02d5378f723f9509d7.jpg","text":"TemporaryFile(/tmp/multipartBody7629627409107195211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968382905,"filename":"image_06042025_10_29_40_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3db4622b2e70b9498820ac586bfbb3f9.jpg","text":"TemporaryFile(/tmp/multipartBody8789298346614985548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968382905,"filename":"image_06042025_10_29_02_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a43c76402f53f1b521baf470dc962108.jpg","text":"TemporaryFile(/tmp/multipartBody4096668314294311903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968382905,"filename":"image_06042025_10_31_34_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/dd12fdb230fb5b3a9a7c2c4dc16f6590.jpg","text":"TemporaryFile(/tmp/multipartBody8454697471176610844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968382905,"filename":"image_06042025_10_29_31_2033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350189429","file1":"1350189426","file0":"1350189422","file4":"1350189433","file5":"1350189435","file3":"1350189432"},"map_files_photo_id_array":[{"photo_id":"1350189435","filename":"file5"},{"photo_id":"1350189429","filename":"file2"},{"photo_id":"1350189433","filename":"file4"},{"photo_id":"1350189426","filename":"file1"},{"photo_id":"1350189422","filename":"file0"},{"photo_id":"1350189432","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350189422":["hashtag1","hashtag2"]},{"1350189433":["hashtag1","hashtag2"]},{"1350189432":["hashtag1","hashtag2"]},{"1350189426":["hashtag1","hashtag2"]},{"1350189435":["hashtag1","hashtag2"]},{"1350189429":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350189422, 1350189433, 1350189432, 1350189426, 1350189435, 1350189429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65998125076294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:39:22.413342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_02_3584.jpg', '/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_29_3590.jpg', '/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_35_2657.jpg', '/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_44_2667.jpg', '/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_55_2602.jpg', '/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_11_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_02_3584.jpg
/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_29_3590.jpg
/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_35_2657.jpg
/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_44_2667.jpg
/home/pi/Desktop/images/06042025/10/32/image_06042025_10_32_55_2602.jpg
/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_11_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350189494","1350189482","1350189451","1350189489","1350189477","1350189485"],"photo_ids_order":["1350189451","1350189477","1350189482","1350189485","1350189489","1350189494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/eaf76cf97b581d1cca6642454ab70461.jpg","text":"TemporaryFile(/tmp/multipartBody6321316281911325752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968423110,"filename":"image_06042025_10_33_11_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5202738b1e4db496a5bac09fd5db3ad0.jpg","text":"TemporaryFile(/tmp/multipartBody1407330368800735419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968423110,"filename":"image_06042025_10_32_35_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/07032d8d91b331aac115e4941639fb67.jpg","text":"TemporaryFile(/tmp/multipartBody3223302159315090263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968423110,"filename":"image_06042025_10_32_02_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/dee97f29aa7a411ab49a0d48bc6a834b.jpg","text":"TemporaryFile(/tmp/multipartBody6288749687160707381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968423110,"filename":"image_06042025_10_32_55_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/06ca7c116893956f7777d22ccf4c8489.jpg","text":"TemporaryFile(/tmp/multipartBody1726240907467702407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968423110,"filename":"image_06042025_10_32_29_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/abab637f7b98dfffba9a393b298180b8.jpg","text":"TemporaryFile(/tmp/multipartBody2320570587867164388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968423110,"filename":"image_06042025_10_32_44_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350189482","file1":"1350189477","file0":"1350189451","file4":"1350189489","file5":"1350189494","file3":"1350189485"},"map_files_photo_id_array":[{"photo_id":"1350189494","filename":"file5"},{"photo_id":"1350189482","filename":"file2"},{"photo_id":"1350189489","filename":"file4"},{"photo_id":"1350189477","filename":"file1"},{"photo_id":"1350189451","filename":"file0"},{"photo_id":"1350189485","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350189494":["hashtag1","hashtag2"]},{"1350189482":["hashtag1","hashtag2"]},{"1350189451":["hashtag1","hashtag2"]},{"1350189489":["hashtag1","hashtag2"]},{"1350189477":["hashtag1","hashtag2"]},{"1350189485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350189494, 1350189482, 1350189451, 1350189489, 1350189477, 1350189485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52792191505432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:40:02.568747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_41_2567.jpg', '/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_44_2805.jpg', '/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_46_2762.jpg', '/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_49_2914.jpg', '/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_53_3618.jpg', '/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_55_2538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_41_2567.jpg
/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_44_2805.jpg
/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_46_2762.jpg
/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_49_2914.jpg
/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_53_3618.jpg
/home/pi/Desktop/images/06042025/10/33/image_06042025_10_33_55_2538.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350189524","1350189526","1350189525","1350189519","1350189522","1350189516"],"photo_ids_order":["1350189516","1350189519","1350189522","1350189524","1350189525","1350189526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/408dde8c8a0f59b36d27877b10824a45.jpg","text":"TemporaryFile(/tmp/multipartBody8182214153634003508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968463359,"filename":"image_06042025_10_33_49_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/350f603850db0bc4019a1eec43556e2f.jpg","text":"TemporaryFile(/tmp/multipartBody7863231800083887645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968463359,"filename":"image_06042025_10_33_55_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fd687efa7f9ebf1fdc8463e7d60790dd.jpg","text":"TemporaryFile(/tmp/multipartBody8829953550565378341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968463359,"filename":"image_06042025_10_33_53_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/dff02e254d33d22a80e8c3cecaa37ade.jpg","text":"TemporaryFile(/tmp/multipartBody6335376241770662110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968463359,"filename":"image_06042025_10_33_44_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6057ff5c543bdbe8075891030ebc3c8c.jpg","text":"TemporaryFile(/tmp/multipartBody6961539588992267385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968463359,"filename":"image_06042025_10_33_46_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/163b180cad74450a992d134626c2343a.jpg","text":"TemporaryFile(/tmp/multipartBody4290871041168128560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968463359,"filename":"image_06042025_10_33_41_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350189522","file1":"1350189519","file0":"1350189516","file4":"1350189525","file5":"1350189526","file3":"1350189524"},"map_files_photo_id_array":[{"photo_id":"1350189526","filename":"file5"},{"photo_id":"1350189522","filename":"file2"},{"photo_id":"1350189525","filename":"file4"},{"photo_id":"1350189519","filename":"file1"},{"photo_id":"1350189516","filename":"file0"},{"photo_id":"1350189524","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350189524":["hashtag1","hashtag2"]},{"1350189526":["hashtag1","hashtag2"]},{"1350189525":["hashtag1","hashtag2"]},{"1350189519":["hashtag1","hashtag2"]},{"1350189522":["hashtag1","hashtag2"]},{"1350189516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350189524, 1350189526, 1350189525, 1350189519, 1350189522, 1350189516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.263975620269775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:40:41.998300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_16_2607.jpg', '/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_21_4493.jpg', '/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_22_1522.jpg', '/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_25_2895.jpg', '/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_28_2836.jpg', '/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_22_2910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_16_2607.jpg
/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_21_4493.jpg
/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_22_1522.jpg
/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_25_2895.jpg
/home/pi/Desktop/images/06042025/10/34/image_06042025_10_34_28_2836.jpg
/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_22_2910.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350189593","1350189623","1350189531","1350189621","1350189615","1350189599"],"photo_ids_order":["1350189531","1350189593","1350189599","1350189615","1350189621","1350189623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7ed687638383b317c3ae8fcb0d3c44d4.jpg","text":"TemporaryFile(/tmp/multipartBody7521944576140730819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968502707,"filename":"image_06042025_10_34_21_4493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/47db5f3ab60d6987bf1cbf16b6c92f4a.jpg","text":"TemporaryFile(/tmp/multipartBody8069798210777606535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968502707,"filename":"image_06042025_10_35_22_2910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d377a102c5867f6b2c714cccdb68bdab.jpg","text":"TemporaryFile(/tmp/multipartBody3576348473164488641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968502707,"filename":"image_06042025_10_34_16_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d40bf8ab9835360b59a4c95eca2f1218.jpg","text":"TemporaryFile(/tmp/multipartBody7433848635956683202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968502707,"filename":"image_06042025_10_34_28_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/16cbe273431cf093b79030a6eafe01fd.jpg","text":"TemporaryFile(/tmp/multipartBody8856760425605608864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968502707,"filename":"image_06042025_10_34_25_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f9a934a646e2de37ed4f253fa8e637c9.jpg","text":"TemporaryFile(/tmp/multipartBody7783076660469498920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968502707,"filename":"image_06042025_10_34_22_1522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350189599","file1":"1350189593","file0":"1350189531","file4":"1350189621","file5":"1350189623","file3":"1350189615"},"map_files_photo_id_array":[{"photo_id":"1350189623","filename":"file5"},{"photo_id":"1350189599","filename":"file2"},{"photo_id":"1350189621","filename":"file4"},{"photo_id":"1350189593","filename":"file1"},{"photo_id":"1350189531","filename":"file0"},{"photo_id":"1350189615","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350189593":["hashtag1","hashtag2"]},{"1350189623":["hashtag1","hashtag2"]},{"1350189531":["hashtag1","hashtag2"]},{"1350189621":["hashtag1","hashtag2"]},{"1350189615":["hashtag1","hashtag2"]},{"1350189599":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350189593, 1350189623, 1350189531, 1350189621, 1350189615, 1350189599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00150752067566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:41:22.059361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_25_2756.jpg', '/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_28_2570.jpg', '/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_32_3826.jpg', '/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_34_2715.jpg', '/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_40_2672.jpg', '/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_49_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_25_2756.jpg
/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_28_2570.jpg
/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_32_3826.jpg
/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_34_2715.jpg
/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_40_2672.jpg
/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_49_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350189761","1350189731","1350189784","1350189771","1350189672","1350189768"],"photo_ids_order":["1350189672","1350189731","1350189761","1350189768","1350189771","1350189784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a8945abb342fb8205bb3dd8f706e7455.jpg","text":"TemporaryFile(/tmp/multipartBody2319509199332857520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968542779,"filename":"image_06042025_10_35_32_3826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a08e2558ab45d4d202a13d5f14afbc8b.jpg","text":"TemporaryFile(/tmp/multipartBody58860539506863709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968542779,"filename":"image_06042025_10_35_28_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bd076296e9907beb7dd08e4a938f40a6.jpg","text":"TemporaryFile(/tmp/multipartBody6139598001131221832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968542779,"filename":"image_06042025_10_35_49_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3cce7c670701ec58caa90754aa63f740.jpg","text":"TemporaryFile(/tmp/multipartBody7900885848206655495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968542779,"filename":"image_06042025_10_35_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/4/6/1d1289d4080e4c8fd8297b2118543b8f.jpg","text":"TemporaryFile(/tmp/multipartBody496385445456647940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968542779,"filename":"image_06042025_10_35_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/4/6/56e6b9843d198eacd4ccd1908a3bdde0.jpg","text":"TemporaryFile(/tmp/multipartBody3827202396807636621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968542779,"filename":"image_06042025_10_35_34_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350189761","file1":"1350189731","file0":"1350189672","file4":"1350189771","file5":"1350189784","file3":"1350189768"},"map_files_photo_id_array":[{"photo_id":"1350189784","filename":"file5"},{"photo_id":"1350189761","filename":"file2"},{"photo_id":"1350189771","filename":"file4"},{"photo_id":"1350189731","filename":"file1"},{"photo_id":"1350189672","filename":"file0"},{"photo_id":"1350189768","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350189761":["hashtag1","hashtag2"]},{"1350189731":["hashtag1","hashtag2"]},{"1350189784":["hashtag1","hashtag2"]},{"1350189771":["hashtag1","hashtag2"]},{"1350189672":["hashtag1","hashtag2"]},{"1350189768":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350189761, 1350189731, 1350189784, 1350189771, 1350189672, 1350189768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.208369970321655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:42:02.705300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_55_2640.jpg', '/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_58_2794.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_01_2772.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_04_3767.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_10_2863.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_17_3825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_55_2640.jpg
/home/pi/Desktop/images/06042025/10/35/image_06042025_10_35_58_2794.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_01_2772.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_04_3767.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_10_2863.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_17_3825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350189878","1350189863","1350189872","1350189848","1350189880","1350189835"],"photo_ids_order":["1350189835","1350189848","1350189863","1350189872","1350189878","1350189880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3f41630ef1e84137e8b6bc8260909fe6.jpg","text":"TemporaryFile(/tmp/multipartBody1329516863284774741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968583536,"filename":"image_06042025_10_36_10_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/16ed49cc976f3faabc31f2c47fff54a2.jpg","text":"TemporaryFile(/tmp/multipartBody5421852729574989221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968583536,"filename":"image_06042025_10_36_01_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/94e473a70dae79147be1fcdddc14b4ab.jpg","text":"TemporaryFile(/tmp/multipartBody2397299262572408205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968583536,"filename":"image_06042025_10_36_04_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8753dc803d5c1ee22ffab83ca5147aaf.jpg","text":"TemporaryFile(/tmp/multipartBody4782827342638308433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968583536,"filename":"image_06042025_10_35_58_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e094e9fd7e0bf76f2415b1ae9967e379.jpg","text":"TemporaryFile(/tmp/multipartBody6302970470603784201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968583536,"filename":"image_06042025_10_36_17_3825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8db78f8d8ac19cb0c2fbb7fb493a42e5.jpg","text":"TemporaryFile(/tmp/multipartBody3628742954468138787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968583536,"filename":"image_06042025_10_35_55_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350189863","file1":"1350189848","file0":"1350189835","file4":"1350189878","file5":"1350189880","file3":"1350189872"},"map_files_photo_id_array":[{"photo_id":"1350189880","filename":"file5"},{"photo_id":"1350189863","filename":"file2"},{"photo_id":"1350189878","filename":"file4"},{"photo_id":"1350189848","filename":"file1"},{"photo_id":"1350189835","filename":"file0"},{"photo_id":"1350189872","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350189878":["hashtag1","hashtag2"]},{"1350189863":["hashtag1","hashtag2"]},{"1350189872":["hashtag1","hashtag2"]},{"1350189848":["hashtag1","hashtag2"]},{"1350189880":["hashtag1","hashtag2"]},{"1350189835":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350189878, 1350189863, 1350189872, 1350189848, 1350189880, 1350189835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.451151847839355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:42:42.076229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_19_2755.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_22_2826.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_25_2637.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_31_2841.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_34_2709.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_37_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_19_2755.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_22_2826.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_25_2637.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_31_2841.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_34_2709.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_37_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350189926","1350190055","1350190007","1350189922","1350189916","1350189912"],"photo_ids_order":["1350189912","1350189916","1350189922","1350189926","1350190007","1350190055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/18ba6ddd4eff62b1de51052944b8118e.jpg","text":"TemporaryFile(/tmp/multipartBody2273927360143529876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968622775,"filename":"image_06042025_10_36_31_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/df89a6104f4634b72747e0add77192ce.jpg","text":"TemporaryFile(/tmp/multipartBody4493549907665938724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968622775,"filename":"image_06042025_10_36_37_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3402af9792c7342c2931edc8991a5bb3.jpg","text":"TemporaryFile(/tmp/multipartBody1614538690645759591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968622775,"filename":"image_06042025_10_36_34_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/03c229c1ffb86e57c7394304e017c8d7.jpg","text":"TemporaryFile(/tmp/multipartBody8466247833765506913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968622775,"filename":"image_06042025_10_36_25_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/07c5a5e0807fb8c76693bcd7b7f61f40.jpg","text":"TemporaryFile(/tmp/multipartBody179560686145482050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968622775,"filename":"image_06042025_10_36_22_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fbf3b8bc77430d320aca9436d82b9fb1.jpg","text":"TemporaryFile(/tmp/multipartBody259596103370945673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968622775,"filename":"image_06042025_10_36_19_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350189922","file1":"1350189916","file0":"1350189912","file4":"1350190007","file5":"1350190055","file3":"1350189926"},"map_files_photo_id_array":[{"photo_id":"1350190055","filename":"file5"},{"photo_id":"1350189922","filename":"file2"},{"photo_id":"1350190007","filename":"file4"},{"photo_id":"1350189916","filename":"file1"},{"photo_id":"1350189912","filename":"file0"},{"photo_id":"1350189926","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350189926":["hashtag1","hashtag2"]},{"1350190055":["hashtag1","hashtag2"]},{"1350190007":["hashtag1","hashtag2"]},{"1350189922":["hashtag1","hashtag2"]},{"1350189916":["hashtag1","hashtag2"]},{"1350189912":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350189926, 1350190055, 1350190007, 1350189922, 1350189916, 1350189912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.540398359298706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:43:21.807512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_40_2702.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_43_2568.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_49_2681.jpg', '/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_55_3646.jpg', '/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_01_2560.jpg', '/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_04_3720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_40_2702.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_43_2568.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_49_2681.jpg
/home/pi/Desktop/images/06042025/10/36/image_06042025_10_36_55_3646.jpg
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_01_2560.jpg
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_04_3720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350190067","1350190096","1350190075","1350190150","1350190092","1350190071"],"photo_ids_order":["1350190067","1350190071","1350190075","1350190092","1350190096","1350190150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8ff1582ca1be690f277e421144ecd59c.jpg","text":"TemporaryFile(/tmp/multipartBody5916853840059036393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968662509,"filename":"image_06042025_10_36_40_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2833b41262576c494237b1ef63108d6a.jpg","text":"TemporaryFile(/tmp/multipartBody2245928312249399690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968662509,"filename":"image_06042025_10_37_01_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f3dd33292914d7f9465e5c305afb3944.jpg","text":"TemporaryFile(/tmp/multipartBody8384886935390207776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968662509,"filename":"image_06042025_10_36_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/4/6/56dc3a9df5091f50146514fa04681084.jpg","text":"TemporaryFile(/tmp/multipartBody4988192924889999538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968662509,"filename":"image_06042025_10_37_04_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7d08e46d178b7dcf873f6cbe41ce0e09.jpg","text":"TemporaryFile(/tmp/multipartBody3053008073668610699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968662509,"filename":"image_06042025_10_36_55_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/77c0cdd5275bc04c8eb41b5f9a9e9396.jpg","text":"TemporaryFile(/tmp/multipartBody1938247465963935716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968662509,"filename":"image_06042025_10_36_43_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190075","file1":"1350190071","file0":"1350190067","file4":"1350190096","file5":"1350190150","file3":"1350190092"},"map_files_photo_id_array":[{"photo_id":"1350190150","filename":"file5"},{"photo_id":"1350190075","filename":"file2"},{"photo_id":"1350190096","filename":"file4"},{"photo_id":"1350190071","filename":"file1"},{"photo_id":"1350190067","filename":"file0"},{"photo_id":"1350190092","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190067":["hashtag1","hashtag2"]},{"1350190096":["hashtag1","hashtag2"]},{"1350190075":["hashtag1","hashtag2"]},{"1350190150":["hashtag1","hashtag2"]},{"1350190092":["hashtag1","hashtag2"]},{"1350190071":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190067, 1350190096, 1350190075, 1350190150, 1350190092, 1350190071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86035871505737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:44:02.740801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_19_2714.jpg', '/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_21_2802.jpg', '/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_25_3609.jpg', '/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_28_2551.jpg', '/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_34_2654.jpg', '/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_40_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_19_2714.jpg
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_21_2802.jpg
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_25_3609.jpg
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_28_2551.jpg
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_34_2654.jpg
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_40_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350190212","1350190209","1350190214","1350190217","1350190219","1350190210"],"photo_ids_order":["1350190209","1350190210","1350190212","1350190214","1350190217","1350190219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/45fb28ecc64281d42f0140b8133b3f23.jpg","text":"TemporaryFile(/tmp/multipartBody2373779308755974791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968703635,"filename":"image_06042025_10_37_25_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0987db887af96e121154e627f2a930f6.jpg","text":"TemporaryFile(/tmp/multipartBody9024286802195403491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968703635,"filename":"image_06042025_10_37_19_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/954d7d9ec022b8f7ddbb04b9b5e791b8.jpg","text":"TemporaryFile(/tmp/multipartBody5499317383987140276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968703635,"filename":"image_06042025_10_37_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/4/6/3c581635bbea6e034a00cc1d934945d1.jpg","text":"TemporaryFile(/tmp/multipartBody1115729547202456922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968703635,"filename":"image_06042025_10_37_34_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/15cf8aa67cd5edae1ea0eb21a684c2d6.jpg","text":"TemporaryFile(/tmp/multipartBody3992465136613167115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968703635,"filename":"image_06042025_10_37_40_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/72c065a5a05d9b3acf44a390a21acd1c.jpg","text":"TemporaryFile(/tmp/multipartBody450387759518372043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968703635,"filename":"image_06042025_10_37_21_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190212","file1":"1350190210","file0":"1350190209","file4":"1350190217","file5":"1350190219","file3":"1350190214"},"map_files_photo_id_array":[{"photo_id":"1350190219","filename":"file5"},{"photo_id":"1350190212","filename":"file2"},{"photo_id":"1350190217","filename":"file4"},{"photo_id":"1350190210","filename":"file1"},{"photo_id":"1350190209","filename":"file0"},{"photo_id":"1350190214","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190212":["hashtag1","hashtag2"]},{"1350190209":["hashtag1","hashtag2"]},{"1350190214":["hashtag1","hashtag2"]},{"1350190217":["hashtag1","hashtag2"]},{"1350190219":["hashtag1","hashtag2"]},{"1350190210":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190212, 1350190209, 1350190214, 1350190217, 1350190219, 1350190210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76254439353943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:44:42.143388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_43_2689.jpg', '/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_45_2659.jpg', '/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_58_2809.jpg', '/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_01_2549.jpg', '/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_06_3006.jpg', '/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_22_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_43_2689.jpg
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_45_2659.jpg
/home/pi/Desktop/images/06042025/10/37/image_06042025_10_37_58_2809.jpg
/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_01_2549.jpg
/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_06_3006.jpg
/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_22_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350190249","1350190234","1350190246","1350190251","1350190239","1350190230"],"photo_ids_order":["1350190230","1350190234","1350190239","1350190246","1350190249","1350190251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1c21c5511da18d8c3bd6a4e6c1c023b7.jpg","text":"TemporaryFile(/tmp/multipartBody840656073915193685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968742863,"filename":"image_06042025_10_38_06_3006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/46fff0d45413a3d3f6a7e4a5f33528d0.jpg","text":"TemporaryFile(/tmp/multipartBody9194935244584875011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968742863,"filename":"image_06042025_10_37_45_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/dea38ff81af145bc437066a7630d1007.jpg","text":"TemporaryFile(/tmp/multipartBody4981503102306678893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968742863,"filename":"image_06042025_10_38_01_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b394fbeeabcdc7acaa50e401fd2ffc55.jpg","text":"TemporaryFile(/tmp/multipartBody956244834907856420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968742863,"filename":"image_06042025_10_38_22_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b2460618d884590100a963ee5e44351c.jpg","text":"TemporaryFile(/tmp/multipartBody5296575102486028506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968742863,"filename":"image_06042025_10_37_58_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/62241d65dfe6c781a3d2db62164836eb.jpg","text":"TemporaryFile(/tmp/multipartBody4255837805096066630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968742863,"filename":"image_06042025_10_37_43_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190239","file1":"1350190234","file0":"1350190230","file4":"1350190249","file5":"1350190251","file3":"1350190246"},"map_files_photo_id_array":[{"photo_id":"1350190251","filename":"file5"},{"photo_id":"1350190239","filename":"file2"},{"photo_id":"1350190249","filename":"file4"},{"photo_id":"1350190234","filename":"file1"},{"photo_id":"1350190230","filename":"file0"},{"photo_id":"1350190246","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190249":["hashtag1","hashtag2"]},{"1350190234":["hashtag1","hashtag2"]},{"1350190246":["hashtag1","hashtag2"]},{"1350190251":["hashtag1","hashtag2"]},{"1350190239":["hashtag1","hashtag2"]},{"1350190230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190249, 1350190234, 1350190246, 1350190251, 1350190239, 1350190230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.239872455596924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:45:22.335231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_25_2697.jpg', '/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_28_3603.jpg', '/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_48_2761.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_04_2693.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_13_2643.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_16_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_25_2697.jpg
/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_28_3603.jpg
/home/pi/Desktop/images/06042025/10/38/image_06042025_10_38_48_2761.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_04_2693.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_13_2643.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_16_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350190265","1350190319","1350190270","1350190255","1350190315","1350190263"],"photo_ids_order":["1350190255","1350190263","1350190265","1350190270","1350190315","1350190319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8e92b7e2bb5eee3b5d08605bd9a51399.jpg","text":"TemporaryFile(/tmp/multipartBody3017476867550851424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968783043,"filename":"image_06042025_10_38_48_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7ec824a77fe807db859ec569645d7de2.jpg","text":"TemporaryFile(/tmp/multipartBody8256310125946467931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968783043,"filename":"image_06042025_10_39_16_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/12f762778e4ffbfbdb4e3ba51dbf09a0.jpg","text":"TemporaryFile(/tmp/multipartBody2728308481037552042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968783043,"filename":"image_06042025_10_39_04_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cfe5851ee8ad46974d1a14ad641dab08.jpg","text":"TemporaryFile(/tmp/multipartBody4867231826491138857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968783043,"filename":"image_06042025_10_38_25_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c02972426ea72a6630c0e5d618367022.jpg","text":"TemporaryFile(/tmp/multipartBody8341541572044929938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968783043,"filename":"image_06042025_10_39_13_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1abf4dc113d4674e5b755525d9af2f3a.jpg","text":"TemporaryFile(/tmp/multipartBody5748756552182686947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968783043,"filename":"image_06042025_10_38_28_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190265","file1":"1350190263","file0":"1350190255","file4":"1350190315","file5":"1350190319","file3":"1350190270"},"map_files_photo_id_array":[{"photo_id":"1350190319","filename":"file5"},{"photo_id":"1350190265","filename":"file2"},{"photo_id":"1350190315","filename":"file4"},{"photo_id":"1350190263","filename":"file1"},{"photo_id":"1350190255","filename":"file0"},{"photo_id":"1350190270","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190265":["hashtag1","hashtag2"]},{"1350190319":["hashtag1","hashtag2"]},{"1350190270":["hashtag1","hashtag2"]},{"1350190255":["hashtag1","hashtag2"]},{"1350190315":["hashtag1","hashtag2"]},{"1350190263":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190265, 1350190319, 1350190270, 1350190255, 1350190315, 1350190263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92798733711243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:46:02.793587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_19_3543.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_25_2834.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_28_3634.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_31_2756.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_34_2765.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_36_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_19_3543.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_25_2834.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_28_3634.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_31_2756.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_34_2765.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_36_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350190341","1350190337","1350190325","1350190333","1350190327","1350190330"],"photo_ids_order":["1350190325","1350190327","1350190330","1350190333","1350190337","1350190341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/195243b83ca665c26923de9bb7cae64f.jpg","text":"TemporaryFile(/tmp/multipartBody5440679293101507664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968823581,"filename":"image_06042025_10_39_36_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/788c7ce5b639ec9cf1a1b59e8d70bc35.jpg","text":"TemporaryFile(/tmp/multipartBody2944988452095519650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968823581,"filename":"image_06042025_10_39_34_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/071b277d36e760170c1f015077d34b8b.jpg","text":"TemporaryFile(/tmp/multipartBody5085891287441971066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968823581,"filename":"image_06042025_10_39_19_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/409f2fb5b3976fdc3fc177a6a4f04083.jpg","text":"TemporaryFile(/tmp/multipartBody5577911442257786874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968823581,"filename":"image_06042025_10_39_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/4/6/ffba1e19471ed90da81c0776ce1dbf43.jpg","text":"TemporaryFile(/tmp/multipartBody3261521383463100907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968823581,"filename":"image_06042025_10_39_25_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f555958ef1ab8c08e83662d3614fa6dc.jpg","text":"TemporaryFile(/tmp/multipartBody7944286364522955655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968823581,"filename":"image_06042025_10_39_28_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190330","file1":"1350190327","file0":"1350190325","file4":"1350190337","file5":"1350190341","file3":"1350190333"},"map_files_photo_id_array":[{"photo_id":"1350190341","filename":"file5"},{"photo_id":"1350190330","filename":"file2"},{"photo_id":"1350190337","filename":"file4"},{"photo_id":"1350190327","filename":"file1"},{"photo_id":"1350190325","filename":"file0"},{"photo_id":"1350190333","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190341":["hashtag1","hashtag2"]},{"1350190337":["hashtag1","hashtag2"]},{"1350190325":["hashtag1","hashtag2"]},{"1350190333":["hashtag1","hashtag2"]},{"1350190327":["hashtag1","hashtag2"]},{"1350190330":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190341, 1350190337, 1350190325, 1350190333, 1350190327, 1350190330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82830309867859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:46:42.318472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_40_3731.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_43_2662.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_46_2815.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_48_2608.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_52_3742.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_55_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_40_3731.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_43_2662.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_46_2815.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_48_2608.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_52_3742.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_55_2735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350190368","1350190361","1350190355","1350190352","1350190363","1350190366"],"photo_ids_order":["1350190352","1350190355","1350190361","1350190363","1350190366","1350190368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/845851268fc007e0e517de5470c0121e.jpg","text":"TemporaryFile(/tmp/multipartBody8560391394100480875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968863078,"filename":"image_06042025_10_39_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/4/6/55ee35811bff66e6742684483813d81d.jpg","text":"TemporaryFile(/tmp/multipartBody6358175553530040342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968863078,"filename":"image_06042025_10_39_46_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/90d02e109f7cdc5344f7cc379d4b49f9.jpg","text":"TemporaryFile(/tmp/multipartBody4189094563972240804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968863078,"filename":"image_06042025_10_39_43_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cad40d17aa1f8f3ae658cf8156272e1e.jpg","text":"TemporaryFile(/tmp/multipartBody810390626260665663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968863078,"filename":"image_06042025_10_39_40_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6a989c2b3b16ca56361ab7d475307178.jpg","text":"TemporaryFile(/tmp/multipartBody2334166948024990017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968863078,"filename":"image_06042025_10_39_48_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6c25815a12c14c8a89fcaaad6fea78bd.jpg","text":"TemporaryFile(/tmp/multipartBody4650200589926178878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968863078,"filename":"image_06042025_10_39_52_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190361","file1":"1350190355","file0":"1350190352","file4":"1350190366","file5":"1350190368","file3":"1350190363"},"map_files_photo_id_array":[{"photo_id":"1350190368","filename":"file5"},{"photo_id":"1350190361","filename":"file2"},{"photo_id":"1350190366","filename":"file4"},{"photo_id":"1350190355","filename":"file1"},{"photo_id":"1350190352","filename":"file0"},{"photo_id":"1350190363","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190368":["hashtag1","hashtag2"]},{"1350190361":["hashtag1","hashtag2"]},{"1350190355":["hashtag1","hashtag2"]},{"1350190352":["hashtag1","hashtag2"]},{"1350190363":["hashtag1","hashtag2"]},{"1350190366":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190368, 1350190361, 1350190355, 1350190352, 1350190363, 1350190366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60972785949707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:47:42.303640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_57_2773.jpg', '/home/pi/Desktop/images/06042025/10/39/image_06042025_10_40_00_2749.jpg', '/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_06_3011.jpg', '/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_10_3793.jpg', '/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_18_2599.jpg', '/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_31_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_39_57_2773.jpg
/home/pi/Desktop/images/06042025/10/39/image_06042025_10_40_00_2749.jpg
/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_06_3011.jpg
/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_10_3793.jpg
/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_18_2599.jpg
/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_31_3717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350190401","1350190400","1350190384","1350190393","1350190389","1350190398"],"photo_ids_order":["1350190384","1350190389","1350190393","1350190398","1350190400","1350190401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6553027b6dc0f6c71d87fb99af5d4e12.jpg","text":"TemporaryFile(/tmp/multipartBody7557048382771538022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968923054,"filename":"image_06042025_10_41_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/4/6/035b52357b7d9b58d1dc78bb86e4f558.jpg","text":"TemporaryFile(/tmp/multipartBody1120267560555536369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968923054,"filename":"image_06042025_10_41_18_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a51f4ccefd92a1954c9d24d35a043701.jpg","text":"TemporaryFile(/tmp/multipartBody2148681185345266040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968923054,"filename":"image_06042025_10_39_57_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ff8801812311936076ebc76500be407b.jpg","text":"TemporaryFile(/tmp/multipartBody1170848931565648641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968923054,"filename":"image_06042025_10_41_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/30f7c21bd9084ac0d81968bfda5d62bd.jpg","text":"TemporaryFile(/tmp/multipartBody6123641528321331017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968923054,"filename":"image_06042025_10_40_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/4/6/bafa5477fd8d95f5f78fe7789695ee4b.jpg","text":"TemporaryFile(/tmp/multipartBody301908406106961352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968923054,"filename":"image_06042025_10_41_10_3793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190393","file1":"1350190389","file0":"1350190384","file4":"1350190400","file5":"1350190401","file3":"1350190398"},"map_files_photo_id_array":[{"photo_id":"1350190401","filename":"file5"},{"photo_id":"1350190393","filename":"file2"},{"photo_id":"1350190400","filename":"file4"},{"photo_id":"1350190389","filename":"file1"},{"photo_id":"1350190384","filename":"file0"},{"photo_id":"1350190398","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190401":["hashtag1","hashtag2"]},{"1350190400":["hashtag1","hashtag2"]},{"1350190384":["hashtag1","hashtag2"]},{"1350190393":["hashtag1","hashtag2"]},{"1350190389":["hashtag1","hashtag2"]},{"1350190398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190401, 1350190400, 1350190384, 1350190393, 1350190389, 1350190398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70132517814636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:48:22.350234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_36_2603.jpg', '/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_40_3632.jpg', '/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_55_2790.jpg', '/home/pi/Desktop/images/06042025/10/42/image_06042025_10_42_46_3679.jpg', '/home/pi/Desktop/images/06042025/10/42/image_06042025_10_42_54_2674.jpg', '/home/pi/Desktop/images/06042025/10/42/image_06042025_10_42_58_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_36_2603.jpg
/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_40_3632.jpg
/home/pi/Desktop/images/06042025/10/41/image_06042025_10_41_55_2790.jpg
/home/pi/Desktop/images/06042025/10/42/image_06042025_10_42_46_3679.jpg
/home/pi/Desktop/images/06042025/10/42/image_06042025_10_42_54_2674.jpg
/home/pi/Desktop/images/06042025/10/42/image_06042025_10_42_58_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":["1350190446","1350190413","1350190404","1350190439","1350190409","1350190443"],"photo_ids_order":["1350190404","1350190409","1350190413","1350190439","1350190443","1350190446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/deae4b53192f7262bb37de31fec2843e.jpg","text":"TemporaryFile(/tmp/multipartBody9157830466795994975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968963049,"filename":"image_06042025_10_42_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/4/6/e3a1e2ca60e78ddad85bfbb93b1ff095.jpg","text":"TemporaryFile(/tmp/multipartBody3120796134412178367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968963049,"filename":"image_06042025_10_41_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/4/6/10e1121e5cb88bf6148631794110c3cb.jpg","text":"TemporaryFile(/tmp/multipartBody4199766746617652026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968963049,"filename":"image_06042025_10_41_36_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5e0aba0f1510972e9720071cd85c2a8f.jpg","text":"TemporaryFile(/tmp/multipartBody4771513117745307971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968963049,"filename":"image_06042025_10_42_46_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ce95da344947874befddc712de4aa0b2.jpg","text":"TemporaryFile(/tmp/multipartBody6100446205245500695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968963049,"filename":"image_06042025_10_41_40_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/75f716a0249c20396be0f5f3eef328f3.jpg","text":"TemporaryFile(/tmp/multipartBody5099393843071603185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743968963049,"filename":"image_06042025_10_42_54_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190413","file1":"1350190409","file0":"1350190404","file4":"1350190443","file5":"1350190446","file3":"1350190439"},"map_files_photo_id_array":[{"photo_id":"1350190446","filename":"file5"},{"photo_id":"1350190413","filename":"file2"},{"photo_id":"1350190443","filename":"file4"},{"photo_id":"1350190409","filename":"file1"},{"photo_id":"1350190404","filename":"file0"},{"photo_id":"1350190439","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190446":["hashtag1","hashtag2"]},{"1350190413":["hashtag1","hashtag2"]},{"1350190404":["hashtag1","hashtag2"]},{"1350190439":["hashtag1","hashtag2"]},{"1350190409":["hashtag1","hashtag2"]},{"1350190443":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190446, 1350190413, 1350190404, 1350190439, 1350190409, 1350190443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.535186529159546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:49:21.940192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_09_2514.jpg', '/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_12_2900.jpg', '/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_40_2744.jpg', '/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_54_2560.jpg', '/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_07_3811.jpg', '/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_39_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_09_2514.jpg
/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_12_2900.jpg
/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_40_2744.jpg
/home/pi/Desktop/images/06042025/10/43/image_06042025_10_43_54_2560.jpg
/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_07_3811.jpg
/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_39_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350190548","1350190533","1350190499","1350190559","1350190516","1350190554"],"photo_ids_order":["1350190499","1350190516","1350190533","1350190548","1350190554","1350190559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/971f1cc6c25ab865e91f9642be3cf4ff.jpg","text":"TemporaryFile(/tmp/multipartBody4919380932479867158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969022667,"filename":"image_06042025_10_43_54_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c4a13b496d870af0f318a8155762ff46.jpg","text":"TemporaryFile(/tmp/multipartBody1732095788155203635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969022667,"filename":"image_06042025_10_43_40_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/170faea7335d7028a887ccdcef291b14.jpg","text":"TemporaryFile(/tmp/multipartBody8017491669555320376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969022667,"filename":"image_06042025_10_43_09_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/82dd522f11a3d6fb305559d5d5ab2ba0.jpg","text":"TemporaryFile(/tmp/multipartBody7654779155347955540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969022667,"filename":"image_06042025_10_44_39_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6b162a5769a378d37aa410d8d284142a.jpg","text":"TemporaryFile(/tmp/multipartBody1950736389671136971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969022667,"filename":"image_06042025_10_43_12_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f9d6d2864fae6f1eb4ba172aa158d8b9.jpg","text":"TemporaryFile(/tmp/multipartBody2693028717023935540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969022667,"filename":"image_06042025_10_44_07_3811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190533","file1":"1350190516","file0":"1350190499","file4":"1350190554","file5":"1350190559","file3":"1350190548"},"map_files_photo_id_array":[{"photo_id":"1350190559","filename":"file5"},{"photo_id":"1350190533","filename":"file2"},{"photo_id":"1350190554","filename":"file4"},{"photo_id":"1350190516","filename":"file1"},{"photo_id":"1350190499","filename":"file0"},{"photo_id":"1350190548","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190548":["hashtag1","hashtag2"]},{"1350190533":["hashtag1","hashtag2"]},{"1350190499":["hashtag1","hashtag2"]},{"1350190559":["hashtag1","hashtag2"]},{"1350190516":["hashtag1","hashtag2"]},{"1350190554":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190548, 1350190533, 1350190499, 1350190559, 1350190516, 1350190554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85541248321533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:50:02.928170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_45_2768.jpg', '/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_49_3630.jpg', '/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_51_2617.jpg', '/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_07_3011.jpg', '/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_17_3606.jpg', '/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_34_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_45_2768.jpg
/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_49_3630.jpg
/home/pi/Desktop/images/06042025/10/44/image_06042025_10_44_51_2617.jpg
/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_07_3011.jpg
/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_17_3606.jpg
/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_34_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350190629","1350190620","1350190619","1350190612","1350190621","1350190609"],"photo_ids_order":["1350190609","1350190612","1350190619","1350190620","1350190621","1350190629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6d704fd0e5d7254e2b083e8c95fd17f9.jpg","text":"TemporaryFile(/tmp/multipartBody5885913133447354591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969063733,"filename":"image_06042025_10_45_34_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9351abc7f30682500d224581ed93bb7d.jpg","text":"TemporaryFile(/tmp/multipartBody4274101190414940276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969063733,"filename":"image_06042025_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/4/6/9a64313df130f0249b0a4e891e3f9e88.jpg","text":"TemporaryFile(/tmp/multipartBody477754385262480589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969063733,"filename":"image_06042025_10_44_51_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f34bbe69214588d517ae3ca0adbe8c7e.jpg","text":"TemporaryFile(/tmp/multipartBody3132104044358397244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969063733,"filename":"image_06042025_10_44_49_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c89d1f8337edaac8ed2c359a87dfc613.jpg","text":"TemporaryFile(/tmp/multipartBody651990231495067938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969063733,"filename":"image_06042025_10_45_17_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f5aecc604624e9c689034072df5c46ca.jpg","text":"TemporaryFile(/tmp/multipartBody9113048374377042516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969063733,"filename":"image_06042025_10_44_45_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190619","file1":"1350190612","file0":"1350190609","file4":"1350190621","file5":"1350190629","file3":"1350190620"},"map_files_photo_id_array":[{"photo_id":"1350190629","filename":"file5"},{"photo_id":"1350190619","filename":"file2"},{"photo_id":"1350190621","filename":"file4"},{"photo_id":"1350190612","filename":"file1"},{"photo_id":"1350190609","filename":"file0"},{"photo_id":"1350190620","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190629":["hashtag1","hashtag2"]},{"1350190620":["hashtag1","hashtag2"]},{"1350190619":["hashtag1","hashtag2"]},{"1350190612":["hashtag1","hashtag2"]},{"1350190621":["hashtag1","hashtag2"]},{"1350190609":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190629, 1350190620, 1350190619, 1350190612, 1350190621, 1350190609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.183027505874634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:50:42.396042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_44_3782.jpg', '/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_49_2796.jpg', '/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_55_2612.jpg', '/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_02_3570.jpg', '/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_10_3618.jpg', '/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_19_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_44_3782.jpg
/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_49_2796.jpg
/home/pi/Desktop/images/06042025/10/45/image_06042025_10_45_55_2612.jpg
/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_02_3570.jpg
/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_10_3618.jpg
/home/pi/Desktop/images/06042025/10/46/image_06042025_10_46_19_2840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350190745","1350190739","1350190742","1350190721","1350190718","1350190714"],"photo_ids_order":["1350190714","1350190718","1350190721","1350190739","1350190742","1350190745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/21cd796fae5051c87f90a5b996bafe29.jpg","text":"TemporaryFile(/tmp/multipartBody8179866557067305639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969103131,"filename":"image_06042025_10_46_19_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/208ffc32ee1bafac9bf9904fac726bf2.jpg","text":"TemporaryFile(/tmp/multipartBody380508362743584106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969103131,"filename":"image_06042025_10_46_02_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7d7a97219428a6f2d762dd845ad0b7a1.jpg","text":"TemporaryFile(/tmp/multipartBody3663865404787015111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969103131,"filename":"image_06042025_10_46_10_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5166702a40966f7a390104578f26fa4e.jpg","text":"TemporaryFile(/tmp/multipartBody1139936525109331357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969103131,"filename":"image_06042025_10_45_55_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b881e3bbda53c17073df5822d7769cd3.jpg","text":"TemporaryFile(/tmp/multipartBody1042769911217419418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969103131,"filename":"image_06042025_10_45_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/4/6/3d463f67e30953a8372a92dc4ba8b0a5.jpg","text":"TemporaryFile(/tmp/multipartBody5748218758105301015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969103131,"filename":"image_06042025_10_45_44_3782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190721","file1":"1350190718","file0":"1350190714","file4":"1350190742","file5":"1350190745","file3":"1350190739"},"map_files_photo_id_array":[{"photo_id":"1350190745","filename":"file5"},{"photo_id":"1350190721","filename":"file2"},{"photo_id":"1350190742","filename":"file4"},{"photo_id":"1350190718","filename":"file1"},{"photo_id":"1350190714","filename":"file0"},{"photo_id":"1350190739","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190745":["hashtag1","hashtag2"]},{"1350190739":["hashtag1","hashtag2"]},{"1350190742":["hashtag1","hashtag2"]},{"1350190721":["hashtag1","hashtag2"]},{"1350190718":["hashtag1","hashtag2"]},{"1350190714":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190745, 1350190739, 1350190742, 1350190721, 1350190718, 1350190714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.660587549209595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:51:22.320766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/47/image_06042025_10_47_07_2577.jpg', '/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_21_2572.jpg', '/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_43_3690.jpg', '/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_57_2591.jpg', '/home/pi/Desktop/images/06042025/10/48/image_06042025_10_49_01_3659.jpg', '/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_06_2529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/47/image_06042025_10_47_07_2577.jpg
/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_21_2572.jpg
/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_43_3690.jpg
/home/pi/Desktop/images/06042025/10/48/image_06042025_10_48_57_2591.jpg
/home/pi/Desktop/images/06042025/10/48/image_06042025_10_49_01_3659.jpg
/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_06_2529.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350190842","1350190809","1350190802","1350190805","1350190851","1350190845"],"photo_ids_order":["1350190802","1350190805","1350190809","1350190842","1350190845","1350190851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/465f9d27fe6416bf02520619b28e62cf.jpg","text":"TemporaryFile(/tmp/multipartBody5479665658377215005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969143022,"filename":"image_06042025_10_48_57_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c6b2878170dda2fdaeca7c52d6bf6039.jpg","text":"TemporaryFile(/tmp/multipartBody8260684043043296431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969143022,"filename":"image_06042025_10_48_43_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/27f756864cf9ceaeb89bed39fe6cfdf2.jpg","text":"TemporaryFile(/tmp/multipartBody4786280650823035732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969143022,"filename":"image_06042025_10_47_07_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8d636afdd475b7ef5b0aed4573a3fce1.jpg","text":"TemporaryFile(/tmp/multipartBody5749282045693312251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969143022,"filename":"image_06042025_10_48_21_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6e3ca97a8e8a2269900aaba4aefdfa37.jpg","text":"TemporaryFile(/tmp/multipartBody5666743004883864763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969143022,"filename":"image_06042025_10_49_06_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6b17cb0c607b9733ebe4c44058d0ac1f.jpg","text":"TemporaryFile(/tmp/multipartBody220800560754623380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969143022,"filename":"image_06042025_10_49_01_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190809","file1":"1350190805","file0":"1350190802","file4":"1350190845","file5":"1350190851","file3":"1350190842"},"map_files_photo_id_array":[{"photo_id":"1350190851","filename":"file5"},{"photo_id":"1350190809","filename":"file2"},{"photo_id":"1350190845","filename":"file4"},{"photo_id":"1350190805","filename":"file1"},{"photo_id":"1350190802","filename":"file0"},{"photo_id":"1350190842","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190842":["hashtag1","hashtag2"]},{"1350190809":["hashtag1","hashtag2"]},{"1350190802":["hashtag1","hashtag2"]},{"1350190805":["hashtag1","hashtag2"]},{"1350190851":["hashtag1","hashtag2"]},{"1350190845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190842, 1350190809, 1350190802, 1350190805, 1350190851, 1350190845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7285521030426 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:52:22.715836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_33_2608.jpg', '/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_37_3688.jpg', '/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_45_2838.jpg', '/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_54_2687.jpg', '/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_07_3010.jpg', '/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_14_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_33_2608.jpg
/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_37_3688.jpg
/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_45_2838.jpg
/home/pi/Desktop/images/06042025/10/49/image_06042025_10_49_54_2687.jpg
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_07_3010.jpg
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_14_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350190914","1350190923","1350190910","1350190904","1350190918","1350190927"],"photo_ids_order":["1350190904","1350190910","1350190914","1350190918","1350190923","1350190927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/649cb42a6115dd80f263edb7ece1fc5c.jpg","text":"TemporaryFile(/tmp/multipartBody5934953610754691121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969203451,"filename":"image_06042025_10_49_45_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/242ca42d58fbd60350bbc9cbceea5106.jpg","text":"TemporaryFile(/tmp/multipartBody3922177805314909091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969203451,"filename":"image_06042025_10_50_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c3cb9df9d554798b1b56540f068f6a08.jpg","text":"TemporaryFile(/tmp/multipartBody1304713146606153972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969203451,"filename":"image_06042025_10_49_37_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0ed138dbab516e806c34a2d0bfded84d.jpg","text":"TemporaryFile(/tmp/multipartBody4222079052317943180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969203451,"filename":"image_06042025_10_49_33_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a6009326c86bc7b904c3367560d95b12.jpg","text":"TemporaryFile(/tmp/multipartBody3669739180989928953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969203451,"filename":"image_06042025_10_49_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/4/6/a761aecdbc23cfec3142effdd5305381.jpg","text":"TemporaryFile(/tmp/multipartBody5400294585989368023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969203451,"filename":"image_06042025_10_50_14_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190914","file1":"1350190910","file0":"1350190904","file4":"1350190923","file5":"1350190927","file3":"1350190918"},"map_files_photo_id_array":[{"photo_id":"1350190927","filename":"file5"},{"photo_id":"1350190914","filename":"file2"},{"photo_id":"1350190923","filename":"file4"},{"photo_id":"1350190910","filename":"file1"},{"photo_id":"1350190904","filename":"file0"},{"photo_id":"1350190918","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190914":["hashtag1","hashtag2"]},{"1350190923":["hashtag1","hashtag2"]},{"1350190910":["hashtag1","hashtag2"]},{"1350190904":["hashtag1","hashtag2"]},{"1350190918":["hashtag1","hashtag2"]},{"1350190927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190914, 1350190923, 1350190910, 1350190904, 1350190918, 1350190927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.59606885910034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:53:21.774535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_20_3716.jpg', '/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_23_2698.jpg', '/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_35_2777.jpg', '/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_38_2703.jpg', '/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_40_2621.jpg', '/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_47_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_20_3716.jpg
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_23_2698.jpg
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_35_2777.jpg
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_38_2703.jpg
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_40_2621.jpg
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_47_2769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350190940","1350190954","1350190948","1350190936","1350190945","1350190939"],"photo_ids_order":["1350190936","1350190939","1350190940","1350190945","1350190948","1350190954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f75150e6f7e62ba49a521ee245fbcc34.jpg","text":"TemporaryFile(/tmp/multipartBody4678957317847862032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969262507,"filename":"image_06042025_10_50_35_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/94d3bf5242158092ab8ce6f6ccfdcc0b.jpg","text":"TemporaryFile(/tmp/multipartBody7654804166183218016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969262507,"filename":"image_06042025_10_50_47_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/640138863863f176c1d5765f920c0166.jpg","text":"TemporaryFile(/tmp/multipartBody485275862400690545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969262507,"filename":"image_06042025_10_50_40_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9a0dbff1cca089825a009e69ce5b7eff.jpg","text":"TemporaryFile(/tmp/multipartBody4391516652121315887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969262507,"filename":"image_06042025_10_50_20_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8f91e8b3e00af2e41d346e606e47a952.jpg","text":"TemporaryFile(/tmp/multipartBody5031349818464276908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969262507,"filename":"image_06042025_10_50_38_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6321768087dcafd954f47d8fae39dbca.jpg","text":"TemporaryFile(/tmp/multipartBody968473861838914734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969262507,"filename":"image_06042025_10_50_23_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190940","file1":"1350190939","file0":"1350190936","file4":"1350190948","file5":"1350190954","file3":"1350190945"},"map_files_photo_id_array":[{"photo_id":"1350190954","filename":"file5"},{"photo_id":"1350190940","filename":"file2"},{"photo_id":"1350190948","filename":"file4"},{"photo_id":"1350190939","filename":"file1"},{"photo_id":"1350190936","filename":"file0"},{"photo_id":"1350190945","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190940":["hashtag1","hashtag2"]},{"1350190954":["hashtag1","hashtag2"]},{"1350190948":["hashtag1","hashtag2"]},{"1350190936":["hashtag1","hashtag2"]},{"1350190945":["hashtag1","hashtag2"]},{"1350190939":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190940, 1350190954, 1350190948, 1350190936, 1350190945, 1350190939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70864200592041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:54:02.694516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_49_2619.jpg', '/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_53_3718.jpg', '/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_56_2652.jpg', '/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_02_3693.jpg', '/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_14_2775.jpg', '/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_20_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_49_2619.jpg
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_53_3718.jpg
/home/pi/Desktop/images/06042025/10/50/image_06042025_10_50_56_2652.jpg
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_02_3693.jpg
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_14_2775.jpg
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_20_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":["1350190967","1350190972","1350190969","1350190963","1350190965","1350190968"],"photo_ids_order":["1350190963","1350190965","1350190967","1350190968","1350190969","1350190972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ca3de908d0662b73b63f01cfd8822c6f.jpg","text":"TemporaryFile(/tmp/multipartBody7321376880634737762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969303517,"filename":"image_06042025_10_50_56_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/589770db7a3ca709bd258d0ada313be2.jpg","text":"TemporaryFile(/tmp/multipartBody6135602710749380516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969303517,"filename":"image_06042025_10_51_20_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/da5c547ce3650f754f1779e11ec817c6.jpg","text":"TemporaryFile(/tmp/multipartBody2777591206565664963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969303517,"filename":"image_06042025_10_51_14_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/45bd22e1ea770f352bccb8d80bfe315c.jpg","text":"TemporaryFile(/tmp/multipartBody7161654267249762165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969303517,"filename":"image_06042025_10_50_49_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/824fea5e8fc711bec18a3c641cea3271.jpg","text":"TemporaryFile(/tmp/multipartBody261208293113296513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969303517,"filename":"image_06042025_10_50_53_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f842e9a2b2155242e5527955d7e4fbff.jpg","text":"TemporaryFile(/tmp/multipartBody4788416233186528813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969303517,"filename":"image_06042025_10_51_02_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350190967","file1":"1350190965","file0":"1350190963","file4":"1350190969","file5":"1350190972","file3":"1350190968"},"map_files_photo_id_array":[{"photo_id":"1350190972","filename":"file5"},{"photo_id":"1350190967","filename":"file2"},{"photo_id":"1350190969","filename":"file4"},{"photo_id":"1350190965","filename":"file1"},{"photo_id":"1350190963","filename":"file0"},{"photo_id":"1350190968","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350190967":["hashtag1","hashtag2"]},{"1350190972":["hashtag1","hashtag2"]},{"1350190969":["hashtag1","hashtag2"]},{"1350190963":["hashtag1","hashtag2"]},{"1350190965":["hashtag1","hashtag2"]},{"1350190968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350190967, 1350190972, 1350190969, 1350190963, 1350190965, 1350190968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.262826919555664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:55:03.491150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_25_2672.jpg', '/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_34_2753.jpg', '/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_44_3595.jpg', '/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_50_2679.jpg', '/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_53_3543.jpg', '/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_08_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_25_2672.jpg
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_34_2753.jpg
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_44_3595.jpg
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_50_2679.jpg
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_53_3543.jpg
/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_08_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7898151874542236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:55:22.535417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_25_2672.jpg', '/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_34_2753.jpg', '/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_44_3595.jpg', '/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_50_2679.jpg', '/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_53_3543.jpg', '/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_08_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_25_2672.jpg
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_34_2753.jpg
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_44_3595.jpg
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_50_2679.jpg
/home/pi/Desktop/images/06042025/10/51/image_06042025_10_51_53_3543.jpg
/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_08_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":["1350191004","1350191018","1350190997","1350191009","1350191014","1350190995"],"photo_ids_order":["1350190995","1350190997","1350191004","1350191009","1350191014","1350191018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4a8cd0d45d933e736125ec066ddbea46.jpg","text":"TemporaryFile(/tmp/multipartBody1833452222892864912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969383233,"filename":"image_06042025_10_51_44_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8a94ca32ede940ea34560efe2b142042.jpg","text":"TemporaryFile(/tmp/multipartBody8972370020087493752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969383233,"filename":"image_06042025_10_52_08_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6123821f4d92cbd3d4d02d3f77312bcb.jpg","text":"TemporaryFile(/tmp/multipartBody8577267662258608483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969383233,"filename":"image_06042025_10_51_34_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b6053dd85a8a8ef1816fd0dbb41fac5d.jpg","text":"TemporaryFile(/tmp/multipartBody3259163130700627676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969383233,"filename":"image_06042025_10_51_50_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/13d50218b42f9f6c8792452ad723c290.jpg","text":"TemporaryFile(/tmp/multipartBody5506401764684555753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969383233,"filename":"image_06042025_10_51_53_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d3136cf94dbc0b5d1e6a61f19d344996.jpg","text":"TemporaryFile(/tmp/multipartBody3789500858579059575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969383233,"filename":"image_06042025_10_51_25_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350191004","file1":"1350190997","file0":"1350190995","file4":"1350191014","file5":"1350191018","file3":"1350191009"},"map_files_photo_id_array":[{"photo_id":"1350191018","filename":"file5"},{"photo_id":"1350191004","filename":"file2"},{"photo_id":"1350191014","filename":"file4"},{"photo_id":"1350190997","filename":"file1"},{"photo_id":"1350190995","filename":"file0"},{"photo_id":"1350191009","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350191004":["hashtag1","hashtag2"]},{"1350191018":["hashtag1","hashtag2"]},{"1350190997":["hashtag1","hashtag2"]},{"1350191009":["hashtag1","hashtag2"]},{"1350191014":["hashtag1","hashtag2"]},{"1350190995":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350191004, 1350191018, 1350190997, 1350191009, 1350191014, 1350190995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98264122009277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 21:56:21.902414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_32_3670.jpg', '/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_38_2803.jpg', '/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_53_3652.jpg', '/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_59_2804.jpg', '/home/pi/Desktop/images/06042025/10/53/image_06042025_10_53_13_2700.jpg', '/home/pi/Desktop/images/06042025/10/53/image_06042025_10_53_20_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_32_3670.jpg
/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_38_2803.jpg
/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_53_3652.jpg
/home/pi/Desktop/images/06042025/10/52/image_06042025_10_52_59_2804.jpg
/home/pi/Desktop/images/06042025/10/53/image_06042025_10_53_13_2700.jpg
/home/pi/Desktop/images/06042025/10/53/image_06042025_10_53_20_2586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350191045","1350191068","1350191029","1350191026","1350191058","1350191037"],"photo_ids_order":["1350191026","1350191029","1350191037","1350191045","1350191058","1350191068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/628c4641991972f31807597a30d8acbe.jpg","text":"TemporaryFile(/tmp/multipartBody2770345711555980463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969442653,"filename":"image_06042025_10_52_59_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bcaed233c8f6c04b322344e0f05d7c92.jpg","text":"TemporaryFile(/tmp/multipartBody1077055851797729734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969442653,"filename":"image_06042025_10_53_20_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b9e555c6e3acad01398aca1337391943.jpg","text":"TemporaryFile(/tmp/multipartBody5119959425249736333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969442653,"filename":"image_06042025_10_52_38_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e76ba806e8aa7e2788c6927a48640c77.jpg","text":"TemporaryFile(/tmp/multipartBody8670263663818421399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969442653,"filename":"image_06042025_10_52_32_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e784df7c35cdf3f0a2c8b7490a303930.jpg","text":"TemporaryFile(/tmp/multipartBody7051662911113404138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969442653,"filename":"image_06042025_10_53_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/4/6/0e4bdcdd74aa8bae4b5538ffad78c637.jpg","text":"TemporaryFile(/tmp/multipartBody3577557954029219108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969442653,"filename":"image_06042025_10_52_53_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350191037","file1":"1350191029","file0":"1350191026","file4":"1350191058","file5":"1350191068","file3":"1350191045"},"map_files_photo_id_array":[{"photo_id":"1350191068","filename":"file5"},{"photo_id":"1350191037","filename":"file2"},{"photo_id":"1350191058","filename":"file4"},{"photo_id":"1350191029","filename":"file1"},{"photo_id":"1350191026","filename":"file0"},{"photo_id":"1350191045","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350191045":["hashtag1","hashtag2"]},{"1350191068":["hashtag1","hashtag2"]},{"1350191029":["hashtag1","hashtag2"]},{"1350191026":["hashtag1","hashtag2"]},{"1350191058":["hashtag1","hashtag2"]},{"1350191037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350191045, 1350191068, 1350191029, 1350191026, 1350191058, 1350191037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77630257606506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:57:02.657714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/53/image_06042025_10_53_31_2670.jpg', '/home/pi/Desktop/images/06042025/10/53/image_06042025_10_53_55_2695.jpg', '/home/pi/Desktop/images/06042025/10/54/image_06042025_10_54_53_3695.jpg', '/home/pi/Desktop/images/06042025/10/55/image_06042025_10_55_40_6181.jpg', '/home/pi/Desktop/images/06042025/10/55/image_06042025_10_55_59_1675.jpg', '/home/pi/Desktop/images/06042025/10/56/image_06042025_10_56_07_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/53/image_06042025_10_53_31_2670.jpg
/home/pi/Desktop/images/06042025/10/53/image_06042025_10_53_55_2695.jpg
/home/pi/Desktop/images/06042025/10/54/image_06042025_10_54_53_3695.jpg
/home/pi/Desktop/images/06042025/10/55/image_06042025_10_55_40_6181.jpg
/home/pi/Desktop/images/06042025/10/55/image_06042025_10_55_59_1675.jpg
/home/pi/Desktop/images/06042025/10/56/image_06042025_10_56_07_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350191084","1350191077","1350191086","1350191088","1350191082","1350191079"],"photo_ids_order":["1350191077","1350191079","1350191082","1350191084","1350191086","1350191088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f5a619a496f3bab2f65327f1e210ceb8.jpg","text":"TemporaryFile(/tmp/multipartBody6955222340590117312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969483524,"filename":"image_06042025_10_55_40_6181.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c223d0df5496e9c6edf4a9ffaa8a1636.jpg","text":"TemporaryFile(/tmp/multipartBody269758275147471731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969483524,"filename":"image_06042025_10_53_31_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/08b8df4eee412b6112ee4629126fcdf2.jpg","text":"TemporaryFile(/tmp/multipartBody7386418821794159716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969483524,"filename":"image_06042025_10_55_59_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b21f46be1b7ab6885646c510001358c4.jpg","text":"TemporaryFile(/tmp/multipartBody2963967202896120461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969483524,"filename":"image_06042025_10_56_07_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c37d75837314c50683b0705671f54c78.jpg","text":"TemporaryFile(/tmp/multipartBody2355455165811036705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969483524,"filename":"image_06042025_10_54_53_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3ac7681dcd27129c9cb5e55bb11761f8.jpg","text":"TemporaryFile(/tmp/multipartBody8692084619903376390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969483524,"filename":"image_06042025_10_53_55_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350191082","file1":"1350191079","file0":"1350191077","file4":"1350191086","file5":"1350191088","file3":"1350191084"},"map_files_photo_id_array":[{"photo_id":"1350191088","filename":"file5"},{"photo_id":"1350191082","filename":"file2"},{"photo_id":"1350191086","filename":"file4"},{"photo_id":"1350191079","filename":"file1"},{"photo_id":"1350191077","filename":"file0"},{"photo_id":"1350191084","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350191084":["hashtag1","hashtag2"]},{"1350191077":["hashtag1","hashtag2"]},{"1350191086":["hashtag1","hashtag2"]},{"1350191088":["hashtag1","hashtag2"]},{"1350191082":["hashtag1","hashtag2"]},{"1350191079":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350191084, 1350191077, 1350191086, 1350191088, 1350191082, 1350191079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90435719490051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 21:57:42.040811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/56/image_06042025_10_56_14_3740.jpg', '/home/pi/Desktop/images/06042025/10/56/image_06042025_10_56_37_2763.jpg', '/home/pi/Desktop/images/06042025/10/57/image_06042025_10_57_11_3694.jpg', '/home/pi/Desktop/images/06042025/10/57/image_06042025_10_57_13_2606.jpg', '/home/pi/Desktop/images/06042025/10/57/image_06042025_10_57_40_3626.jpg', '/home/pi/Desktop/images/06042025/10/57/image_06042025_10_57_50_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/56/image_06042025_10_56_14_3740.jpg
/home/pi/Desktop/images/06042025/10/56/image_06042025_10_56_37_2763.jpg
/home/pi/Desktop/images/06042025/10/57/image_06042025_10_57_11_3694.jpg
/home/pi/Desktop/images/06042025/10/57/image_06042025_10_57_13_2606.jpg
/home/pi/Desktop/images/06042025/10/57/image_06042025_10_57_40_3626.jpg
/home/pi/Desktop/images/06042025/10/57/image_06042025_10_57_50_3663.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350191129","1350191126","1350191120","1350191104","1350191097","1350191148"],"photo_ids_order":["1350191097","1350191104","1350191120","1350191126","1350191129","1350191148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/757e8f4e15ec7c390d8b04f13ef3b7d6.jpg","text":"TemporaryFile(/tmp/multipartBody6006956591038964535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969522792,"filename":"image_06042025_10_57_40_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/757fc32ef4111e4d2f53fe956c13e6d1.jpg","text":"TemporaryFile(/tmp/multipartBody4202217895976690199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969522792,"filename":"image_06042025_10_57_13_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/adab1adaefdd91742518832552d98b4e.jpg","text":"TemporaryFile(/tmp/multipartBody3617543937587440852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969522792,"filename":"image_06042025_10_57_11_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bcfb984374d86ac461b4f85020f7c6d2.jpg","text":"TemporaryFile(/tmp/multipartBody755453264847866535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969522792,"filename":"image_06042025_10_56_37_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/21853b6d9a2fcfd4052a9c2df2fdf5f0.jpg","text":"TemporaryFile(/tmp/multipartBody3147099754119255877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969522792,"filename":"image_06042025_10_56_14_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/264a4d3288ca074ff1f6dd8c2e5ccafe.jpg","text":"TemporaryFile(/tmp/multipartBody2973469349834421063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969522792,"filename":"image_06042025_10_57_50_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350191120","file1":"1350191104","file0":"1350191097","file4":"1350191129","file5":"1350191148","file3":"1350191126"},"map_files_photo_id_array":[{"photo_id":"1350191148","filename":"file5"},{"photo_id":"1350191120","filename":"file2"},{"photo_id":"1350191129","filename":"file4"},{"photo_id":"1350191104","filename":"file1"},{"photo_id":"1350191097","filename":"file0"},{"photo_id":"1350191126","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350191129":["hashtag1","hashtag2"]},{"1350191126":["hashtag1","hashtag2"]},{"1350191120":["hashtag1","hashtag2"]},{"1350191104":["hashtag1","hashtag2"]},{"1350191097":["hashtag1","hashtag2"]},{"1350191148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350191129, 1350191126, 1350191120, 1350191104, 1350191097, 1350191148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.812422037124634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 21:59:03.024929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_08_3700.jpg', '/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_19_2765.jpg', '/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_25_2570.jpg', '/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_46_2684.jpg', '/home/pi/Desktop/images/06042025/10/59/image_06042025_10_59_13_2707.jpg', '/home/pi/Desktop/images/06042025/10/59/image_06042025_10_59_19_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_08_3700.jpg
/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_19_2765.jpg
/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_25_2570.jpg
/home/pi/Desktop/images/06042025/10/58/image_06042025_10_58_46_2684.jpg
/home/pi/Desktop/images/06042025/10/59/image_06042025_10_59_13_2707.jpg
/home/pi/Desktop/images/06042025/10/59/image_06042025_10_59_19_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350191204","1350191207","1350191197","1350191191","1350191185","1350191179"],"photo_ids_order":["1350191179","1350191185","1350191191","1350191197","1350191204","1350191207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b2dcf1a80580b8728c9751f08be5eb86.jpg","text":"TemporaryFile(/tmp/multipartBody8115427256885523287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969603953,"filename":"image_06042025_10_59_13_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7221371cdf99ffa6326cb5f69da089aa.jpg","text":"TemporaryFile(/tmp/multipartBody6400665892780424253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969603953,"filename":"image_06042025_10_59_19_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cd4a57ac244e597cf69e7cc2d98cccf2.jpg","text":"TemporaryFile(/tmp/multipartBody1929481382882889992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969603953,"filename":"image_06042025_10_58_46_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/12d51fd6063e8d3e1c360e5c7b11e9dd.jpg","text":"TemporaryFile(/tmp/multipartBody3701166800996899005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969603953,"filename":"image_06042025_10_58_25_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/97193fadc0be600ede2ae41772d56969.jpg","text":"TemporaryFile(/tmp/multipartBody6930057527552040536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969603953,"filename":"image_06042025_10_58_19_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9941db4fc160c61b46bc8240486a3240.jpg","text":"TemporaryFile(/tmp/multipartBody2381336784383764374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969603953,"filename":"image_06042025_10_58_08_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350191191","file1":"1350191185","file0":"1350191179","file4":"1350191204","file5":"1350191207","file3":"1350191197"},"map_files_photo_id_array":[{"photo_id":"1350191207","filename":"file5"},{"photo_id":"1350191191","filename":"file2"},{"photo_id":"1350191204","filename":"file4"},{"photo_id":"1350191185","filename":"file1"},{"photo_id":"1350191179","filename":"file0"},{"photo_id":"1350191197","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350191204":["hashtag1","hashtag2"]},{"1350191207":["hashtag1","hashtag2"]},{"1350191197":["hashtag1","hashtag2"]},{"1350191191":["hashtag1","hashtag2"]},{"1350191185":["hashtag1","hashtag2"]},{"1350191179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350191204, 1350191207, 1350191197, 1350191191, 1350191185, 1350191179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37808012962341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:00:02.906516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/10/59/image_06042025_10_59_28_2758.jpg', '/home/pi/Desktop/images/06042025/11/00/image_06042025_11_00_38_3664.jpg', '/home/pi/Desktop/images/06042025/11/01/image_06042025_11_01_37_2789.jpg', '/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_10_5363.jpg', '/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_19_2806.jpg', '/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_26_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/10/59/image_06042025_10_59_28_2758.jpg
/home/pi/Desktop/images/06042025/11/00/image_06042025_11_00_38_3664.jpg
/home/pi/Desktop/images/06042025/11/01/image_06042025_11_01_37_2789.jpg
/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_10_5363.jpg
/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_19_2806.jpg
/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_26_2745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350191230","1350191224","1350191262","1350191241","1350191265","1350191235"],"photo_ids_order":["1350191224","1350191230","1350191235","1350191241","1350191262","1350191265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f39256c6384918cb13620c17721f1c5e.jpg","text":"TemporaryFile(/tmp/multipartBody7942931588971027135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969663674,"filename":"image_06042025_11_00_38_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6c41ae5b0d0087b26d7ea6283e47a111.jpg","text":"TemporaryFile(/tmp/multipartBody7869353378758460890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969663674,"filename":"image_06042025_10_59_28_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0f83c92fc5c25961c8a7d188207edc60.jpg","text":"TemporaryFile(/tmp/multipartBody7336256543074054046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969663674,"filename":"image_06042025_11_02_19_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3b47bc33bfd58916d03fa135ef320eb0.jpg","text":"TemporaryFile(/tmp/multipartBody4752298625302913622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969663674,"filename":"image_06042025_11_02_10_5363.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1fcbec89716541bd863c13802b61f078.jpg","text":"TemporaryFile(/tmp/multipartBody8639623426439654427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969663674,"filename":"image_06042025_11_02_26_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/56284d26c11655c3e7330092d34e7b56.jpg","text":"TemporaryFile(/tmp/multipartBody4780971168474196311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969663674,"filename":"image_06042025_11_01_37_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350191235","file1":"1350191230","file0":"1350191224","file4":"1350191262","file5":"1350191265","file3":"1350191241"},"map_files_photo_id_array":[{"photo_id":"1350191265","filename":"file5"},{"photo_id":"1350191235","filename":"file2"},{"photo_id":"1350191262","filename":"file4"},{"photo_id":"1350191230","filename":"file1"},{"photo_id":"1350191224","filename":"file0"},{"photo_id":"1350191241","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350191230":["hashtag1","hashtag2"]},{"1350191224":["hashtag1","hashtag2"]},{"1350191262":["hashtag1","hashtag2"]},{"1350191241":["hashtag1","hashtag2"]},{"1350191265":["hashtag1","hashtag2"]},{"1350191235":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350191230, 1350191224, 1350191262, 1350191241, 1350191265, 1350191235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.204291582107544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:01:03.323142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_38_2986.jpg', '/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_44_6421.jpg', '/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_04_2547.jpg', '/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_28_2741.jpg', '/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_32_3731.jpg', '/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_52_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_38_2986.jpg
/home/pi/Desktop/images/06042025/11/02/image_06042025_11_02_44_6421.jpg
/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_04_2547.jpg
/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_28_2741.jpg
/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_32_3731.jpg
/home/pi/Desktop/images/06042025/11/03/image_06042025_11_03_52_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350191279","1350191288","1350191275","1350191284","1350191272","1350191297"],"photo_ids_order":["1350191272","1350191275","1350191279","1350191284","1350191288","1350191297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9e12cbd859e5cab89fc683782fc27518.jpg","text":"TemporaryFile(/tmp/multipartBody4799730447395476112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969724170,"filename":"image_06042025_11_03_04_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c972c28d1db9bcd626c9e0ee52284ad6.jpg","text":"TemporaryFile(/tmp/multipartBody5099186330512036805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969724170,"filename":"image_06042025_11_03_32_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/409d3da1e95db4a8aff724230d84baae.jpg","text":"TemporaryFile(/tmp/multipartBody2649840954420769539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969724170,"filename":"image_06042025_11_02_44_6421.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c43ff865bdefdc7c5fa6cf8dc3ca2dc4.jpg","text":"TemporaryFile(/tmp/multipartBody3629732564837363206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969724170,"filename":"image_06042025_11_03_28_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d6fc1816e02e4003a60cddb82a0db9c3.jpg","text":"TemporaryFile(/tmp/multipartBody1618416678039631982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969724170,"filename":"image_06042025_11_02_38_2986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4dc9a840c12008b35d9b26349f17c477.jpg","text":"TemporaryFile(/tmp/multipartBody7740234313088709938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969724170,"filename":"image_06042025_11_03_52_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350191279","file1":"1350191275","file0":"1350191272","file4":"1350191288","file5":"1350191297","file3":"1350191284"},"map_files_photo_id_array":[{"photo_id":"1350191297","filename":"file5"},{"photo_id":"1350191279","filename":"file2"},{"photo_id":"1350191288","filename":"file4"},{"photo_id":"1350191275","filename":"file1"},{"photo_id":"1350191272","filename":"file0"},{"photo_id":"1350191284","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350191279":["hashtag1","hashtag2"]},{"1350191288":["hashtag1","hashtag2"]},{"1350191275":["hashtag1","hashtag2"]},{"1350191284":["hashtag1","hashtag2"]},{"1350191272":["hashtag1","hashtag2"]},{"1350191297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350191279, 1350191288, 1350191275, 1350191284, 1350191272, 1350191297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66297936439514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:01:42.487458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_04_2922.jpg', '/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_16_2724.jpg', '/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_28_2592.jpg', '/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_37_2611.jpg', '/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_41_3690.jpg', '/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_14_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_04_2922.jpg
/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_16_2724.jpg
/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_28_2592.jpg
/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_37_2611.jpg
/home/pi/Desktop/images/06042025/11/04/image_06042025_11_04_41_3690.jpg
/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_14_2575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350191378","1350191327","1350191330","1350191320","1350191323","1350191376"],"photo_ids_order":["1350191320","1350191323","1350191327","1350191330","1350191376","1350191378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/31273dada6b740711f242a6a0efbf737.jpg","text":"TemporaryFile(/tmp/multipartBody7341548997215953155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969763196,"filename":"image_06042025_11_05_14_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/849fd1e61a3164e17293928a1f4171c4.jpg","text":"TemporaryFile(/tmp/multipartBody3003367966957061546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969763196,"filename":"image_06042025_11_04_28_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/093984ae39a68d70ec81b3a0d7fb184c.jpg","text":"TemporaryFile(/tmp/multipartBody7671626268660176990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969763196,"filename":"image_06042025_11_04_37_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d633f2f87a2000a4d38a6984ee2d61e5.jpg","text":"TemporaryFile(/tmp/multipartBody1974372670708588905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969763196,"filename":"image_06042025_11_04_04_2922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e3b8c1907e214a8f15bcf5def274d09c.jpg","text":"TemporaryFile(/tmp/multipartBody840481632907231335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969763196,"filename":"image_06042025_11_04_16_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c4b20937e018435791e77898d4474992.jpg","text":"TemporaryFile(/tmp/multipartBody8411871669139868568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969763196,"filename":"image_06042025_11_04_41_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350191327","file1":"1350191323","file0":"1350191320","file4":"1350191376","file5":"1350191378","file3":"1350191330"},"map_files_photo_id_array":[{"photo_id":"1350191378","filename":"file5"},{"photo_id":"1350191327","filename":"file2"},{"photo_id":"1350191376","filename":"file4"},{"photo_id":"1350191323","filename":"file1"},{"photo_id":"1350191320","filename":"file0"},{"photo_id":"1350191330","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350191378":["hashtag1","hashtag2"]},{"1350191327":["hashtag1","hashtag2"]},{"1350191330":["hashtag1","hashtag2"]},{"1350191320":["hashtag1","hashtag2"]},{"1350191323":["hashtag1","hashtag2"]},{"1350191376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350191378, 1350191327, 1350191330, 1350191320, 1350191323, 1350191376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40398120880127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:02:22.782159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_28_2792.jpg', '/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_37_2701.jpg', '/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_50_3576.jpg', '/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_13_2830.jpg', '/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_25_2996.jpg', '/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_37_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_28_2792.jpg
/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_37_2701.jpg
/home/pi/Desktop/images/06042025/11/05/image_06042025_11_05_50_3576.jpg
/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_13_2830.jpg
/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_25_2996.jpg
/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_37_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350191402","1350191476","1350191419","1350191710","1350191416","1350191586"],"photo_ids_order":["1350191402","1350191416","1350191419","1350191476","1350191586","1350191710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b2132c58602e40fbd9d88a04df5674eb.jpg","text":"TemporaryFile(/tmp/multipartBody7827566845696284111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969803509,"filename":"image_06042025_11_05_28_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6e844be103ea70bbf6825fd80304bb9b.jpg","text":"TemporaryFile(/tmp/multipartBody4589856942420849710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969803509,"filename":"image_06042025_11_06_13_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4e2468618984bc23c2847656b9785627.jpg","text":"TemporaryFile(/tmp/multipartBody5218114720837859166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969803509,"filename":"image_06042025_11_05_50_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cf1b381d40253bc8ecdf8ca371575c55.jpg","text":"TemporaryFile(/tmp/multipartBody596879808691086205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969803509,"filename":"image_06042025_11_06_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/4/6/8d19e6434c0f3593c6d4a25d3837a17f.jpg","text":"TemporaryFile(/tmp/multipartBody5161729429856141224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969803509,"filename":"image_06042025_11_05_37_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5df3d6acf6d9288515e569dabceea16c.jpg","text":"TemporaryFile(/tmp/multipartBody2917631146266898940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969803509,"filename":"image_06042025_11_06_25_2996.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350191419","file1":"1350191416","file0":"1350191402","file4":"1350191586","file5":"1350191710","file3":"1350191476"},"map_files_photo_id_array":[{"photo_id":"1350191710","filename":"file5"},{"photo_id":"1350191419","filename":"file2"},{"photo_id":"1350191586","filename":"file4"},{"photo_id":"1350191416","filename":"file1"},{"photo_id":"1350191402","filename":"file0"},{"photo_id":"1350191476","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350191402":["hashtag1","hashtag2"]},{"1350191476":["hashtag1","hashtag2"]},{"1350191419":["hashtag1","hashtag2"]},{"1350191710":["hashtag1","hashtag2"]},{"1350191416":["hashtag1","hashtag2"]},{"1350191586":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350191402, 1350191476, 1350191419, 1350191710, 1350191416, 1350191586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55372142791748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:03:03.068198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_59_3594.jpg', '/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_11_3697.jpg', '/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_14_2785.jpg', '/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_31_2652.jpg', '/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_40_2701.jpg', '/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_46_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/06/image_06042025_11_06_59_3594.jpg
/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_11_3697.jpg
/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_14_2785.jpg
/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_31_2652.jpg
/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_40_2701.jpg
/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_46_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350191849","1350191921","1350191821","1350191844","1350191838","1350191817"],"photo_ids_order":["1350191817","1350191821","1350191838","1350191844","1350191849","1350191921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/be4f0a38df406f89ac8535b01bced091.jpg","text":"TemporaryFile(/tmp/multipartBody1404443760783391766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969843945,"filename":"image_06042025_11_07_40_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/be0b3f194030f0ab5f15e6d28829a91c.jpg","text":"TemporaryFile(/tmp/multipartBody4785581546279177544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969843945,"filename":"image_06042025_11_07_46_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/084a0fe57e4a5c515b3fc0e001d67a7d.jpg","text":"TemporaryFile(/tmp/multipartBody9128224746978450051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969843945,"filename":"image_06042025_11_07_11_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/65ede831ce1272fe28906b4651e06787.jpg","text":"TemporaryFile(/tmp/multipartBody8377016266181873290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969843945,"filename":"image_06042025_11_07_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/4/6/7ce76ec68e0f4e0fe798fb4610ed2e06.jpg","text":"TemporaryFile(/tmp/multipartBody8669971579079266297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969843945,"filename":"image_06042025_11_07_14_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/dbf99ce3e07f3f144acb2c206de53405.jpg","text":"TemporaryFile(/tmp/multipartBody8230700103370379228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969843945,"filename":"image_06042025_11_06_59_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350191838","file1":"1350191821","file0":"1350191817","file4":"1350191849","file5":"1350191921","file3":"1350191844"},"map_files_photo_id_array":[{"photo_id":"1350191921","filename":"file5"},{"photo_id":"1350191838","filename":"file2"},{"photo_id":"1350191849","filename":"file4"},{"photo_id":"1350191821","filename":"file1"},{"photo_id":"1350191817","filename":"file0"},{"photo_id":"1350191844","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350191849":["hashtag1","hashtag2"]},{"1350191921":["hashtag1","hashtag2"]},{"1350191821":["hashtag1","hashtag2"]},{"1350191844":["hashtag1","hashtag2"]},{"1350191838":["hashtag1","hashtag2"]},{"1350191817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350191849, 1350191921, 1350191821, 1350191844, 1350191838, 1350191817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35937476158142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:03:42.324502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_53_3703.jpg', '/home/pi/Desktop/images/06042025/11/08/image_06042025_11_08_17_3816.jpg', '/home/pi/Desktop/images/06042025/11/09/image_06042025_11_09_04_2731.jpg', '/home/pi/Desktop/images/06042025/11/09/image_06042025_11_09_13_2679.jpg', '/home/pi/Desktop/images/06042025/11/10/image_06042025_11_10_58_2849.jpg', '/home/pi/Desktop/images/06042025/11/11/image_06042025_11_11_38_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/07/image_06042025_11_07_53_3703.jpg
/home/pi/Desktop/images/06042025/11/08/image_06042025_11_08_17_3816.jpg
/home/pi/Desktop/images/06042025/11/09/image_06042025_11_09_04_2731.jpg
/home/pi/Desktop/images/06042025/11/09/image_06042025_11_09_13_2679.jpg
/home/pi/Desktop/images/06042025/11/10/image_06042025_11_10_58_2849.jpg
/home/pi/Desktop/images/06042025/11/11/image_06042025_11_11_38_3649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350192056","1350192023","1350192026","1350192058","1350192016","1350192019"],"photo_ids_order":["1350192016","1350192019","1350192023","1350192026","1350192056","1350192058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2cc9b5d62ab25487d01388f048207fd3.jpg","text":"TemporaryFile(/tmp/multipartBody1453165051373828253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969883071,"filename":"image_06042025_11_10_58_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3ff75108bd49aa51e170479bffa772e5.jpg","text":"TemporaryFile(/tmp/multipartBody8596729837103203494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969883071,"filename":"image_06042025_11_09_04_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4dd82c95a782aea0348c479474a84c49.jpg","text":"TemporaryFile(/tmp/multipartBody4860849625693409113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969883071,"filename":"image_06042025_11_09_13_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9547b84049f43282950561c8f4cf127d.jpg","text":"TemporaryFile(/tmp/multipartBody8604069616628548715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969883071,"filename":"image_06042025_11_11_38_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d44bde26c4f757e9a86443d5c6a5cf8c.jpg","text":"TemporaryFile(/tmp/multipartBody8778360102644137684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969883071,"filename":"image_06042025_11_07_53_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/927702974b6e90167022f59532f9c6b8.jpg","text":"TemporaryFile(/tmp/multipartBody4134143252991474933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969883071,"filename":"image_06042025_11_08_17_3816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350192023","file1":"1350192019","file0":"1350192016","file4":"1350192056","file5":"1350192058","file3":"1350192026"},"map_files_photo_id_array":[{"photo_id":"1350192058","filename":"file5"},{"photo_id":"1350192023","filename":"file2"},{"photo_id":"1350192056","filename":"file4"},{"photo_id":"1350192019","filename":"file1"},{"photo_id":"1350192016","filename":"file0"},{"photo_id":"1350192026","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350192056":["hashtag1","hashtag2"]},{"1350192023":["hashtag1","hashtag2"]},{"1350192026":["hashtag1","hashtag2"]},{"1350192058":["hashtag1","hashtag2"]},{"1350192016":["hashtag1","hashtag2"]},{"1350192019":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350192056, 1350192023, 1350192026, 1350192058, 1350192016, 1350192019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.393277645111084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:04:21.937874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/11/image_06042025_11_11_50_3673.jpg', '/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_17_3696.jpg', '/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_38_3718.jpg', '/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_47_3810.jpg', '/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_55_2746.jpg', '/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_59_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/11/image_06042025_11_11_50_3673.jpg
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_17_3696.jpg
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_38_3718.jpg
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_47_3810.jpg
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_55_2746.jpg
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_59_3714.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6567842960357666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:04:42.008808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/11/image_06042025_11_11_50_3673.jpg', '/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_17_3696.jpg', '/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_38_3718.jpg', '/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_47_3810.jpg', '/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_55_2746.jpg', '/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_59_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/11/image_06042025_11_11_50_3673.jpg
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_17_3696.jpg
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_38_3718.jpg
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_47_3810.jpg
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_55_2746.jpg
/home/pi/Desktop/images/06042025/11/12/image_06042025_11_12_59_3714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350192088","1350192091","1350192093","1350192095","1350192083","1350192086"],"photo_ids_order":["1350192083","1350192086","1350192088","1350192091","1350192093","1350192095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2a6ffac28be0d7f78a69087d54645ae5.jpg","text":"TemporaryFile(/tmp/multipartBody9046351623714638377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969942755,"filename":"image_06042025_11_12_38_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/eccb16b271b855b40d2c4708eb3c9b06.jpg","text":"TemporaryFile(/tmp/multipartBody8043399514781476972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969942755,"filename":"image_06042025_11_12_47_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/abe62d11390a537b2e5086cbfc5858e0.jpg","text":"TemporaryFile(/tmp/multipartBody8085532864103765250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969942755,"filename":"image_06042025_11_12_55_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/28d66215672bf7eb4c16357950011ea8.jpg","text":"TemporaryFile(/tmp/multipartBody5877486840110651411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969942755,"filename":"image_06042025_11_12_59_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/eb7a55f632e4c3e48e73c35bb549f217.jpg","text":"TemporaryFile(/tmp/multipartBody1040180740069350749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969942755,"filename":"image_06042025_11_11_50_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4357d81377cf3309405e2edad896ec77.jpg","text":"TemporaryFile(/tmp/multipartBody2266221305908468682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969942755,"filename":"image_06042025_11_12_17_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350192088","file1":"1350192086","file0":"1350192083","file4":"1350192093","file5":"1350192095","file3":"1350192091"},"map_files_photo_id_array":[{"photo_id":"1350192095","filename":"file5"},{"photo_id":"1350192088","filename":"file2"},{"photo_id":"1350192093","filename":"file4"},{"photo_id":"1350192086","filename":"file1"},{"photo_id":"1350192083","filename":"file0"},{"photo_id":"1350192091","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350192088":["hashtag1","hashtag2"]},{"1350192091":["hashtag1","hashtag2"]},{"1350192093":["hashtag1","hashtag2"]},{"1350192095":["hashtag1","hashtag2"]},{"1350192083":["hashtag1","hashtag2"]},{"1350192086":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350192088, 1350192091, 1350192093, 1350192095, 1350192083, 1350192086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9313542842865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:05:21.939337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/13/image_06042025_11_13_26_3669.jpg', '/home/pi/Desktop/images/06042025/11/13/image_06042025_11_13_43_2800.jpg', '/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_13_2698.jpg', '/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_20_3714.jpg', '/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_25_2657.jpg', '/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_31_2890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/13/image_06042025_11_13_26_3669.jpg
/home/pi/Desktop/images/06042025/11/13/image_06042025_11_13_43_2800.jpg
/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_13_2698.jpg
/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_20_3714.jpg
/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_25_2657.jpg
/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_31_2890.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350192155","1350192125","1350192151","1350192132","1350192120","1350192146"],"photo_ids_order":["1350192120","1350192125","1350192132","1350192146","1350192151","1350192155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8cc4265f0c61ff42eb2eb5be86e4bc25.jpg","text":"TemporaryFile(/tmp/multipartBody1299711948483587206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969982669,"filename":"image_06042025_11_14_31_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2201e9dadd05425a92d16d6c1bc5352c.jpg","text":"TemporaryFile(/tmp/multipartBody1916970925456244642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969982669,"filename":"image_06042025_11_13_43_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/29ca03eb1a14d88b8d3a323bbd1a8972.jpg","text":"TemporaryFile(/tmp/multipartBody1620821342243112931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969982669,"filename":"image_06042025_11_14_25_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/18148ad7c4499b57379a651e20d8419a.jpg","text":"TemporaryFile(/tmp/multipartBody1164526176684864120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969982669,"filename":"image_06042025_11_14_13_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/15fdd55e644fe16dfdb9eeec8751b81a.jpg","text":"TemporaryFile(/tmp/multipartBody8923174725475735366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969982669,"filename":"image_06042025_11_13_26_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b5b5469e5c8899063cc589c9403fff46.jpg","text":"TemporaryFile(/tmp/multipartBody3568410450492416536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743969982669,"filename":"image_06042025_11_14_20_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350192132","file1":"1350192125","file0":"1350192120","file4":"1350192151","file5":"1350192155","file3":"1350192146"},"map_files_photo_id_array":[{"photo_id":"1350192155","filename":"file5"},{"photo_id":"1350192132","filename":"file2"},{"photo_id":"1350192151","filename":"file4"},{"photo_id":"1350192125","filename":"file1"},{"photo_id":"1350192120","filename":"file0"},{"photo_id":"1350192146","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350192155":["hashtag1","hashtag2"]},{"1350192125":["hashtag1","hashtag2"]},{"1350192151":["hashtag1","hashtag2"]},{"1350192132":["hashtag1","hashtag2"]},{"1350192120":["hashtag1","hashtag2"]},{"1350192146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350192155, 1350192125, 1350192151, 1350192132, 1350192120, 1350192146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2351393699646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:06:02.633040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_52_2815.jpg', '/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_58_2740.jpg', '/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_07_3013.jpg', '/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_26_1595.jpg', '/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_52_2869.jpg', '/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_04_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_52_2815.jpg
/home/pi/Desktop/images/06042025/11/14/image_06042025_11_14_58_2740.jpg
/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_07_3013.jpg
/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_26_1595.jpg
/home/pi/Desktop/images/06042025/11/16/image_06042025_11_16_52_2869.jpg
/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_04_3611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350192224","1350192203","1350192160","1350192189","1350192219","1350192182"],"photo_ids_order":["1350192160","1350192182","1350192189","1350192203","1350192219","1350192224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b34cb896774ada6f93262e581441cccd.jpg","text":"TemporaryFile(/tmp/multipartBody5203644490953314917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970023440,"filename":"image_06042025_11_17_04_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/beaef1cfb36ced91097726c5142b0994.jpg","text":"TemporaryFile(/tmp/multipartBody5621369274596870326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970023440,"filename":"image_06042025_11_16_26_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/41a90c11a33629a9b639559387f18957.jpg","text":"TemporaryFile(/tmp/multipartBody5178062534303868723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970023440,"filename":"image_06042025_11_14_52_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5cfa06a876b24989cf0694eba945b9b3.jpg","text":"TemporaryFile(/tmp/multipartBody7937398923873879109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970023440,"filename":"image_06042025_11_16_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a1e8dae1435d86e914562825e19568c3.jpg","text":"TemporaryFile(/tmp/multipartBody6653775059965910962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970023440,"filename":"image_06042025_11_16_52_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3081ca308df48d69bf275a071c9abda2.jpg","text":"TemporaryFile(/tmp/multipartBody1821289919397457870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970023440,"filename":"image_06042025_11_14_58_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350192189","file1":"1350192182","file0":"1350192160","file4":"1350192219","file5":"1350192224","file3":"1350192203"},"map_files_photo_id_array":[{"photo_id":"1350192224","filename":"file5"},{"photo_id":"1350192189","filename":"file2"},{"photo_id":"1350192219","filename":"file4"},{"photo_id":"1350192182","filename":"file1"},{"photo_id":"1350192160","filename":"file0"},{"photo_id":"1350192203","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350192224":["hashtag1","hashtag2"]},{"1350192203":["hashtag1","hashtag2"]},{"1350192160":["hashtag1","hashtag2"]},{"1350192189":["hashtag1","hashtag2"]},{"1350192219":["hashtag1","hashtag2"]},{"1350192182":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350192224, 1350192203, 1350192160, 1350192189, 1350192219, 1350192182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.685704946517944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:07:02.698380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_16_2632.jpg', '/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_28_2714.jpg', '/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_40_3584.jpg', '/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_55_2674.jpg', '/home/pi/Desktop/images/06042025/11/17/image_06042025_11_18_01_3673.jpg', '/home/pi/Desktop/images/06042025/11/18/image_06042025_11_18_16_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_16_2632.jpg
/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_28_2714.jpg
/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_40_3584.jpg
/home/pi/Desktop/images/06042025/11/17/image_06042025_11_17_55_2674.jpg
/home/pi/Desktop/images/06042025/11/17/image_06042025_11_18_01_3673.jpg
/home/pi/Desktop/images/06042025/11/18/image_06042025_11_18_16_2727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350192286","1350192295","1350192291","1350192279","1350192276","1350192299"],"photo_ids_order":["1350192276","1350192279","1350192286","1350192291","1350192295","1350192299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e8b4f67c7410a4c7691ff17c9c82eb39.jpg","text":"TemporaryFile(/tmp/multipartBody4122759305802112371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970083558,"filename":"image_06042025_11_17_40_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/412d794e331d3722a583542068d35b56.jpg","text":"TemporaryFile(/tmp/multipartBody3875935231007627302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970083558,"filename":"image_06042025_11_18_01_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e8975d02aef37c7af1df2f96344748ae.jpg","text":"TemporaryFile(/tmp/multipartBody2135150318367937307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970083558,"filename":"image_06042025_11_17_55_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7940fd21cc64f817b9555439b48f5883.jpg","text":"TemporaryFile(/tmp/multipartBody8735528611592112536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970083558,"filename":"image_06042025_11_17_28_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5626da310a88aaa707b138d5edf66749.jpg","text":"TemporaryFile(/tmp/multipartBody8133326765094061283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970083558,"filename":"image_06042025_11_17_16_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/db1dd7e51a2dd512ef9acf2ef0eca0fa.jpg","text":"TemporaryFile(/tmp/multipartBody871896850361336586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970083558,"filename":"image_06042025_11_18_16_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350192286","file1":"1350192279","file0":"1350192276","file4":"1350192295","file5":"1350192299","file3":"1350192291"},"map_files_photo_id_array":[{"photo_id":"1350192299","filename":"file5"},{"photo_id":"1350192286","filename":"file2"},{"photo_id":"1350192295","filename":"file4"},{"photo_id":"1350192279","filename":"file1"},{"photo_id":"1350192276","filename":"file0"},{"photo_id":"1350192291","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350192286":["hashtag1","hashtag2"]},{"1350192295":["hashtag1","hashtag2"]},{"1350192291":["hashtag1","hashtag2"]},{"1350192279":["hashtag1","hashtag2"]},{"1350192276":["hashtag1","hashtag2"]},{"1350192299":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350192286, 1350192295, 1350192291, 1350192279, 1350192276, 1350192299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.61381673812866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:08:02.961411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/18/image_06042025_11_18_43_2607.jpg', '/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_01_2712.jpg', '/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_10_2578.jpg', '/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_19_2728.jpg', '/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_28_2625.jpg', '/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_30_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/18/image_06042025_11_18_43_2607.jpg
/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_01_2712.jpg
/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_10_2578.jpg
/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_19_2728.jpg
/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_28_2625.jpg
/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_30_2569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350192326","1350192311","1350192320","1350192317","1350192328","1350192315"],"photo_ids_order":["1350192311","1350192315","1350192317","1350192320","1350192326","1350192328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7b8bc640f8d273aae31cad81e51d8241.jpg","text":"TemporaryFile(/tmp/multipartBody2285833401866226508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970143801,"filename":"image_06042025_11_19_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/4/6/68071911bb3219bcad9b1809dce506a1.jpg","text":"TemporaryFile(/tmp/multipartBody8184723834037304619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970143801,"filename":"image_06042025_11_18_43_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/23f0bf0763984d707ee8b917512ba290.jpg","text":"TemporaryFile(/tmp/multipartBody2553355065411351792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970143801,"filename":"image_06042025_11_19_19_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f212be9e94f0ce7fe275e0cca77fa2fb.jpg","text":"TemporaryFile(/tmp/multipartBody8664584733703266248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970143801,"filename":"image_06042025_11_19_10_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ca852969192d47cf8f6eae50a54f2db8.jpg","text":"TemporaryFile(/tmp/multipartBody7631823514720707711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970143801,"filename":"image_06042025_11_19_30_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7517838adb2389f50c75cd965b75792b.jpg","text":"TemporaryFile(/tmp/multipartBody3711902222399296926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970143801,"filename":"image_06042025_11_19_01_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350192317","file1":"1350192315","file0":"1350192311","file4":"1350192326","file5":"1350192328","file3":"1350192320"},"map_files_photo_id_array":[{"photo_id":"1350192328","filename":"file5"},{"photo_id":"1350192317","filename":"file2"},{"photo_id":"1350192326","filename":"file4"},{"photo_id":"1350192315","filename":"file1"},{"photo_id":"1350192311","filename":"file0"},{"photo_id":"1350192320","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350192326":["hashtag1","hashtag2"]},{"1350192311":["hashtag1","hashtag2"]},{"1350192320":["hashtag1","hashtag2"]},{"1350192317":["hashtag1","hashtag2"]},{"1350192328":["hashtag1","hashtag2"]},{"1350192315":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350192326, 1350192311, 1350192320, 1350192317, 1350192328, 1350192315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04437804222107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:08:42.238628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_37_2655.jpg', '/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_46_3666.jpg', '/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_16_2686.jpg', '/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_19_3636.jpg', '/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_43_2628.jpg', '/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_55_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_37_2655.jpg
/home/pi/Desktop/images/06042025/11/19/image_06042025_11_19_46_3666.jpg
/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_16_2686.jpg
/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_19_3636.jpg
/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_43_2628.jpg
/home/pi/Desktop/images/06042025/11/21/image_06042025_11_21_55_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350192340","1350192343","1350192346","1350192372","1350192369","1350192338"],"photo_ids_order":["1350192338","1350192340","1350192343","1350192346","1350192369","1350192372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0411c9e5a62369387abee84d54670ee7.jpg","text":"TemporaryFile(/tmp/multipartBody7353993802188938591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970182991,"filename":"image_06042025_11_19_46_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e07a411b6277938e58d568ebdfc024e6.jpg","text":"TemporaryFile(/tmp/multipartBody6900509702126561853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970182991,"filename":"image_06042025_11_21_16_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/185bac82b03dfca2d3424a2ed794a7ca.jpg","text":"TemporaryFile(/tmp/multipartBody459313481426813273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970182991,"filename":"image_06042025_11_21_19_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/aab7886b77daddaaf5ca220c1d98dd0b.jpg","text":"TemporaryFile(/tmp/multipartBody993796212419012928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970182991,"filename":"image_06042025_11_21_55_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/47ed2f536d2d38a8314bd9456016bf08.jpg","text":"TemporaryFile(/tmp/multipartBody8421502539695348655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970182991,"filename":"image_06042025_11_21_43_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c1dc8474db3bdf5aced920c5cd546810.jpg","text":"TemporaryFile(/tmp/multipartBody3409163339432288648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970182991,"filename":"image_06042025_11_19_37_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350192343","file1":"1350192340","file0":"1350192338","file4":"1350192369","file5":"1350192372","file3":"1350192346"},"map_files_photo_id_array":[{"photo_id":"1350192372","filename":"file5"},{"photo_id":"1350192343","filename":"file2"},{"photo_id":"1350192369","filename":"file4"},{"photo_id":"1350192340","filename":"file1"},{"photo_id":"1350192338","filename":"file0"},{"photo_id":"1350192346","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350192340":["hashtag1","hashtag2"]},{"1350192343":["hashtag1","hashtag2"]},{"1350192346":["hashtag1","hashtag2"]},{"1350192372":["hashtag1","hashtag2"]},{"1350192369":["hashtag1","hashtag2"]},{"1350192338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350192340, 1350192343, 1350192346, 1350192372, 1350192369, 1350192338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70279240608215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:09:22.239738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/22/image_06042025_11_22_36_2572.jpg', '/home/pi/Desktop/images/06042025/11/22/image_06042025_11_23_01_3584.jpg', '/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_22_3697.jpg', '/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_37_3625.jpg', '/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_40_2723.jpg', '/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_46_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/22/image_06042025_11_22_36_2572.jpg
/home/pi/Desktop/images/06042025/11/22/image_06042025_11_23_01_3584.jpg
/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_22_3697.jpg
/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_37_3625.jpg
/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_40_2723.jpg
/home/pi/Desktop/images/06042025/11/23/image_06042025_11_23_46_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":["1350192469","1350192436","1350192426","1350192441","1350192383","1350192458"],"photo_ids_order":["1350192383","1350192426","1350192436","1350192441","1350192458","1350192469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/12ea0c6caaea56f3f191d5195b827ad7.jpg","text":"TemporaryFile(/tmp/multipartBody8367841627057830551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970222987,"filename":"image_06042025_11_23_46_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8ed36bb379996860ac866887d41dbae0.jpg","text":"TemporaryFile(/tmp/multipartBody3628486406220287677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970222987,"filename":"image_06042025_11_23_22_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5b6e3da00b7e8d90519f906d16395147.jpg","text":"TemporaryFile(/tmp/multipartBody4706917500887573021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970222987,"filename":"image_06042025_11_23_01_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9db613d527e625798c2c37d5ef95126a.jpg","text":"TemporaryFile(/tmp/multipartBody1143241411555085231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970222987,"filename":"image_06042025_11_23_37_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d4d401a72b35143abb001304161fb548.jpg","text":"TemporaryFile(/tmp/multipartBody5233613181873527913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970222987,"filename":"image_06042025_11_22_36_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/69517a61c914a3b27c1807f023444d61.jpg","text":"TemporaryFile(/tmp/multipartBody1312367742530865896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970222987,"filename":"image_06042025_11_23_40_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350192436","file1":"1350192426","file0":"1350192383","file4":"1350192458","file5":"1350192469","file3":"1350192441"},"map_files_photo_id_array":[{"photo_id":"1350192469","filename":"file5"},{"photo_id":"1350192436","filename":"file2"},{"photo_id":"1350192458","filename":"file4"},{"photo_id":"1350192426","filename":"file1"},{"photo_id":"1350192383","filename":"file0"},{"photo_id":"1350192441","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350192469":["hashtag1","hashtag2"]},{"1350192436":["hashtag1","hashtag2"]},{"1350192426":["hashtag1","hashtag2"]},{"1350192441":["hashtag1","hashtag2"]},{"1350192383":["hashtag1","hashtag2"]},{"1350192458":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350192469, 1350192436, 1350192426, 1350192441, 1350192383, 1350192458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.393261671066284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:10:22.012247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/24/image_06042025_11_24_57_2617.jpg', '/home/pi/Desktop/images/06042025/11/25/image_06042025_11_25_06_3011.jpg', '/home/pi/Desktop/images/06042025/11/36/image_06042025_11_36_37_2766.jpg', '/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_16_2578.jpg', '/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_31_3789.jpg', '/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_48_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/24/image_06042025_11_24_57_2617.jpg
/home/pi/Desktop/images/06042025/11/25/image_06042025_11_25_06_3011.jpg
/home/pi/Desktop/images/06042025/11/36/image_06042025_11_36_37_2766.jpg
/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_16_2578.jpg
/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_31_3789.jpg
/home/pi/Desktop/images/06042025/11/38/image_06042025_11_38_48_2586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350192595","1350192565","1350192591","1350192552","1350192648","1350192653"],"photo_ids_order":["1350192552","1350192565","1350192591","1350192595","1350192648","1350192653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/53e60c3d88ebc111108c5e11c1fe07ab.jpg","text":"TemporaryFile(/tmp/multipartBody1736121209621126148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970282767,"filename":"image_06042025_11_38_16_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7e83e321d21b2da87450252548a658ff.jpg","text":"TemporaryFile(/tmp/multipartBody6968585140835792174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970282767,"filename":"image_06042025_11_25_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9d958b885efe55ff93c5adb868a99a45.jpg","text":"TemporaryFile(/tmp/multipartBody5010204992028290503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970282767,"filename":"image_06042025_11_36_37_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/03ab1e6a40e9cbb6ec60212bd07b4ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8036372722673124048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970282767,"filename":"image_06042025_11_24_57_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2663eca9e96918ddd19c568eacc3eaed.jpg","text":"TemporaryFile(/tmp/multipartBody8632597240957601136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970282767,"filename":"image_06042025_11_38_31_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ed523b87fb42ae38751b80caf6121783.jpg","text":"TemporaryFile(/tmp/multipartBody369184554912608652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970282767,"filename":"image_06042025_11_38_48_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350192591","file1":"1350192565","file0":"1350192552","file4":"1350192648","file5":"1350192653","file3":"1350192595"},"map_files_photo_id_array":[{"photo_id":"1350192653","filename":"file5"},{"photo_id":"1350192591","filename":"file2"},{"photo_id":"1350192648","filename":"file4"},{"photo_id":"1350192565","filename":"file1"},{"photo_id":"1350192552","filename":"file0"},{"photo_id":"1350192595","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350192595":["hashtag1","hashtag2"]},{"1350192565":["hashtag1","hashtag2"]},{"1350192591":["hashtag1","hashtag2"]},{"1350192552":["hashtag1","hashtag2"]},{"1350192648":["hashtag1","hashtag2"]},{"1350192653":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350192595, 1350192565, 1350192591, 1350192552, 1350192648, 1350192653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48183751106262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:11:02.918579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/42/image_06042025_11_42_16_2667.jpg', '/home/pi/Desktop/images/06042025/11/42/image_06042025_11_42_43_2658.jpg', '/home/pi/Desktop/images/06042025/11/42/image_06042025_11_42_55_2709.jpg', '/home/pi/Desktop/images/06042025/11/43/image_06042025_11_43_19_3125.jpg', '/home/pi/Desktop/images/06042025/11/43/image_06042025_11_43_31_5343.jpg', '/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_13_3565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/42/image_06042025_11_42_16_2667.jpg
/home/pi/Desktop/images/06042025/11/42/image_06042025_11_42_43_2658.jpg
/home/pi/Desktop/images/06042025/11/42/image_06042025_11_42_55_2709.jpg
/home/pi/Desktop/images/06042025/11/43/image_06042025_11_43_19_3125.jpg
/home/pi/Desktop/images/06042025/11/43/image_06042025_11_43_31_5343.jpg
/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_13_3565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350192691","1350192687","1350192675","1350192666","1350192680","1350192668"],"photo_ids_order":["1350192666","1350192668","1350192675","1350192680","1350192687","1350192691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/da3f44b9306906dc79f26af3d5ac7a82.jpg","text":"TemporaryFile(/tmp/multipartBody3970494904989438328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970323821,"filename":"image_06042025_11_47_13_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d415645b8517e171d462c0fb3b5b700b.jpg","text":"TemporaryFile(/tmp/multipartBody4220089942381098486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970323821,"filename":"image_06042025_11_43_31_5343.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4f5f4f496b1b3ab67081c5d1dfcb91b4.jpg","text":"TemporaryFile(/tmp/multipartBody9007759303162563178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970323821,"filename":"image_06042025_11_42_55_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4ef5f998972fedd53437022f4c1d7bc0.jpg","text":"TemporaryFile(/tmp/multipartBody4819572165623758274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970323821,"filename":"image_06042025_11_42_16_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/95197c2c6d541ce32524b9c49e3e1b7d.jpg","text":"TemporaryFile(/tmp/multipartBody1051969862609713358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970323821,"filename":"image_06042025_11_43_19_3125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/74ac20e33a83171ff54011909343548d.jpg","text":"TemporaryFile(/tmp/multipartBody4622327334612992901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970323821,"filename":"image_06042025_11_42_43_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350192675","file1":"1350192668","file0":"1350192666","file4":"1350192687","file5":"1350192691","file3":"1350192680"},"map_files_photo_id_array":[{"photo_id":"1350192691","filename":"file5"},{"photo_id":"1350192675","filename":"file2"},{"photo_id":"1350192687","filename":"file4"},{"photo_id":"1350192668","filename":"file1"},{"photo_id":"1350192666","filename":"file0"},{"photo_id":"1350192680","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350192691":["hashtag1","hashtag2"]},{"1350192687":["hashtag1","hashtag2"]},{"1350192675":["hashtag1","hashtag2"]},{"1350192666":["hashtag1","hashtag2"]},{"1350192680":["hashtag1","hashtag2"]},{"1350192668":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350192691, 1350192687, 1350192675, 1350192666, 1350192680, 1350192668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54155254364014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:11:42.163351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_22_3640.jpg', '/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_31_3745.jpg', '/home/pi/Desktop/images/06042025/11/54/image_06042025_11_54_39_2706.jpg', '/home/pi/Desktop/images/06042025/11/56/image_06042025_11_56_46_2840.jpg', '/home/pi/Desktop/images/06042025/11/57/image_06042025_11_57_01_2601.jpg', '/home/pi/Desktop/images/06042025/11/57/image_06042025_11_57_28_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_22_3640.jpg
/home/pi/Desktop/images/06042025/11/47/image_06042025_11_47_31_3745.jpg
/home/pi/Desktop/images/06042025/11/54/image_06042025_11_54_39_2706.jpg
/home/pi/Desktop/images/06042025/11/56/image_06042025_11_56_46_2840.jpg
/home/pi/Desktop/images/06042025/11/57/image_06042025_11_57_01_2601.jpg
/home/pi/Desktop/images/06042025/11/57/image_06042025_11_57_28_2520.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350192719","1350192940","1350192838","1350192712","1350192750","1350192728"],"photo_ids_order":["1350192712","1350192719","1350192728","1350192750","1350192838","1350192940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fe710712af32c5d8e0604ddec1616a87.jpg","text":"TemporaryFile(/tmp/multipartBody5127112696548674531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970362925,"filename":"image_06042025_11_47_31_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b4741b9c04baa33cf0960aa9cb025ebe.jpg","text":"TemporaryFile(/tmp/multipartBody3181786738224579637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970362925,"filename":"image_06042025_11_57_28_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2b75c1fe7e5e4e410b567c236f07c397.jpg","text":"TemporaryFile(/tmp/multipartBody1161730050609819035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970362925,"filename":"image_06042025_11_57_01_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4f538f7a8f0cf7451f4b01fe2f249f05.jpg","text":"TemporaryFile(/tmp/multipartBody1704660580249371992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970362925,"filename":"image_06042025_11_47_22_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/dc09c136647d541705bb2a950db051b0.jpg","text":"TemporaryFile(/tmp/multipartBody6991892664357243661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970362925,"filename":"image_06042025_11_56_46_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7555061d9cf107412139d6e9e359db0e.jpg","text":"TemporaryFile(/tmp/multipartBody1093474286443060346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970362925,"filename":"image_06042025_11_54_39_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350192728","file1":"1350192719","file0":"1350192712","file4":"1350192838","file5":"1350192940","file3":"1350192750"},"map_files_photo_id_array":[{"photo_id":"1350192940","filename":"file5"},{"photo_id":"1350192728","filename":"file2"},{"photo_id":"1350192838","filename":"file4"},{"photo_id":"1350192719","filename":"file1"},{"photo_id":"1350192712","filename":"file0"},{"photo_id":"1350192750","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350192719":["hashtag1","hashtag2"]},{"1350192940":["hashtag1","hashtag2"]},{"1350192838":["hashtag1","hashtag2"]},{"1350192712":["hashtag1","hashtag2"]},{"1350192750":["hashtag1","hashtag2"]},{"1350192728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350192719, 1350192940, 1350192838, 1350192712, 1350192750, 1350192728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59664011001587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:12:22.408121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/11/57/image_06042025_11_57_37_2738.jpg', '/home/pi/Desktop/images/06042025/12/38/image_06042025_12_38_13_2705.jpg', '/home/pi/Desktop/images/06042025/12/49/image_06042025_12_49_42_3643.jpg', '/home/pi/Desktop/images/06042025/13/25/image_06042025_13_25_27_2627.jpg', '/home/pi/Desktop/images/06042025/14/01/image_06042025_14_01_11_2666.jpg', '/home/pi/Desktop/images/06042025/14/07/image_06042025_14_07_28_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/11/57/image_06042025_11_57_37_2738.jpg
/home/pi/Desktop/images/06042025/12/38/image_06042025_12_38_13_2705.jpg
/home/pi/Desktop/images/06042025/12/49/image_06042025_12_49_42_3643.jpg
/home/pi/Desktop/images/06042025/13/25/image_06042025_13_25_27_2627.jpg
/home/pi/Desktop/images/06042025/14/01/image_06042025_14_01_11_2666.jpg
/home/pi/Desktop/images/06042025/14/07/image_06042025_14_07_28_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":["1350193165","1350193103","1350193123","1350193128","1350193116","1350193178"],"photo_ids_order":["1350193103","1350193116","1350193123","1350193128","1350193165","1350193178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a1b78f01972a8a21c2871f993aefc8bf.jpg","text":"TemporaryFile(/tmp/multipartBody7576273216675267325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970403154,"filename":"image_06042025_14_01_11_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c6c4febaf06f8dd689dc9522a6e88965.jpg","text":"TemporaryFile(/tmp/multipartBody4394833065530640289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970403154,"filename":"image_06042025_11_57_37_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5d2b0ae7944ae3366b919ee01ebbca85.jpg","text":"TemporaryFile(/tmp/multipartBody5758503225154308278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970403154,"filename":"image_06042025_12_49_42_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/401b0b3fd428acfaac59bc93971b7105.jpg","text":"TemporaryFile(/tmp/multipartBody5398354733214499628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970403154,"filename":"image_06042025_13_25_27_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1edc0dbcd2189664f68ebb00a4a561e8.jpg","text":"TemporaryFile(/tmp/multipartBody635912562848208441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970403154,"filename":"image_06042025_12_38_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/4/6/75cf7de3b37bfbf4b876aeb0246fa8ba.jpg","text":"TemporaryFile(/tmp/multipartBody4986558405798087978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970403154,"filename":"image_06042025_14_07_28_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350193123","file1":"1350193116","file0":"1350193103","file4":"1350193165","file5":"1350193178","file3":"1350193128"},"map_files_photo_id_array":[{"photo_id":"1350193178","filename":"file5"},{"photo_id":"1350193123","filename":"file2"},{"photo_id":"1350193165","filename":"file4"},{"photo_id":"1350193116","filename":"file1"},{"photo_id":"1350193103","filename":"file0"},{"photo_id":"1350193128","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350193165":["hashtag1","hashtag2"]},{"1350193103":["hashtag1","hashtag2"]},{"1350193123":["hashtag1","hashtag2"]},{"1350193128":["hashtag1","hashtag2"]},{"1350193116":["hashtag1","hashtag2"]},{"1350193178":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350193165, 1350193103, 1350193123, 1350193128, 1350193116, 1350193178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85467267036438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:13:22.414675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/10/image_06042025_14_10_37_3643.jpg', '/home/pi/Desktop/images/06042025/14/13/image_06042025_14_13_25_3684.jpg', '/home/pi/Desktop/images/06042025/14/13/image_06042025_14_13_27_2547.jpg', '/home/pi/Desktop/images/06042025/14/14/image_06042025_14_14_40_3604.jpg', '/home/pi/Desktop/images/06042025/14/15/image_06042025_14_15_33_2856.jpg', '/home/pi/Desktop/images/06042025/14/16/image_06042025_14_16_42_3529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/14/10/image_06042025_14_10_37_3643.jpg
/home/pi/Desktop/images/06042025/14/13/image_06042025_14_13_25_3684.jpg
/home/pi/Desktop/images/06042025/14/13/image_06042025_14_13_27_2547.jpg
/home/pi/Desktop/images/06042025/14/14/image_06042025_14_14_40_3604.jpg
/home/pi/Desktop/images/06042025/14/15/image_06042025_14_15_33_2856.jpg
/home/pi/Desktop/images/06042025/14/16/image_06042025_14_16_42_3529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350193234","1350193237","1350193225","1350193215","1350193211","1350193229"],"photo_ids_order":["1350193211","1350193215","1350193225","1350193229","1350193234","1350193237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b255d8f167ba4f12c594658396a7a3b6.jpg","text":"TemporaryFile(/tmp/multipartBody3557185941088191079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970463159,"filename":"image_06042025_14_15_33_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9b346cf53897b5cdf57d9eac91511430.jpg","text":"TemporaryFile(/tmp/multipartBody476909218932905718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970463159,"filename":"image_06042025_14_16_42_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0f3bf5208c45bc5fce95bf0b83ba5a12.jpg","text":"TemporaryFile(/tmp/multipartBody6035384637098836979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970463159,"filename":"image_06042025_14_13_27_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a3bd128d38ba3a21150063de2eebf1c0.jpg","text":"TemporaryFile(/tmp/multipartBody462670831737108958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970463159,"filename":"image_06042025_14_13_25_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9605f9f96252265078a2a2232a476afa.jpg","text":"TemporaryFile(/tmp/multipartBody1037451061151026546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970463159,"filename":"image_06042025_14_10_37_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/59d6706c69f40e0f8908b06ce26b74e1.jpg","text":"TemporaryFile(/tmp/multipartBody8193967951126153738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970463159,"filename":"image_06042025_14_14_40_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350193225","file1":"1350193215","file0":"1350193211","file4":"1350193234","file5":"1350193237","file3":"1350193229"},"map_files_photo_id_array":[{"photo_id":"1350193237","filename":"file5"},{"photo_id":"1350193225","filename":"file2"},{"photo_id":"1350193234","filename":"file4"},{"photo_id":"1350193215","filename":"file1"},{"photo_id":"1350193211","filename":"file0"},{"photo_id":"1350193229","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350193234":["hashtag1","hashtag2"]},{"1350193237":["hashtag1","hashtag2"]},{"1350193225":["hashtag1","hashtag2"]},{"1350193215":["hashtag1","hashtag2"]},{"1350193211":["hashtag1","hashtag2"]},{"1350193229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350193234, 1350193237, 1350193225, 1350193215, 1350193211, 1350193229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69401144981384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:14:22.078300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/17/image_06042025_14_17_10_3674.jpg', '/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_03_2615.jpg', '/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_05_2704.jpg', '/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_09_3921.jpg', '/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_39_3869.jpg', '/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_54_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/14/17/image_06042025_14_17_10_3674.jpg
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_03_2615.jpg
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_05_2704.jpg
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_09_3921.jpg
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_39_3869.jpg
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_54_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350193252","1350193261","1350193248","1350193242","1350193256","1350193244"],"photo_ids_order":["1350193242","1350193244","1350193248","1350193252","1350193256","1350193261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e630bd5e0000b9e2802c880d1bc17427.jpg","text":"TemporaryFile(/tmp/multipartBody1781373822088444072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970522818,"filename":"image_06042025_14_19_09_3921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9616e961888cd1c8b56c4ad31313ea11.jpg","text":"TemporaryFile(/tmp/multipartBody4817899461778842208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970522818,"filename":"image_06042025_14_19_54_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fbfe291154b86843c76c0d5e6718850d.jpg","text":"TemporaryFile(/tmp/multipartBody2589226035255972559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970522818,"filename":"image_06042025_14_19_05_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a14c2ebbfab0f6bfcf865a90f65d8c5b.jpg","text":"TemporaryFile(/tmp/multipartBody6557927979296880586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970522818,"filename":"image_06042025_14_17_10_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c3bf5a64fa59b00043ce22bf8052ac4a.jpg","text":"TemporaryFile(/tmp/multipartBody6025939621801164202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970522818,"filename":"image_06042025_14_19_39_3869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d92cafa55190ee747bc3eb610dda4410.jpg","text":"TemporaryFile(/tmp/multipartBody4207544562483287045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970522818,"filename":"image_06042025_14_19_03_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350193248","file1":"1350193244","file0":"1350193242","file4":"1350193256","file5":"1350193261","file3":"1350193252"},"map_files_photo_id_array":[{"photo_id":"1350193261","filename":"file5"},{"photo_id":"1350193248","filename":"file2"},{"photo_id":"1350193256","filename":"file4"},{"photo_id":"1350193244","filename":"file1"},{"photo_id":"1350193242","filename":"file0"},{"photo_id":"1350193252","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350193252":["hashtag1","hashtag2"]},{"1350193261":["hashtag1","hashtag2"]},{"1350193248":["hashtag1","hashtag2"]},{"1350193242":["hashtag1","hashtag2"]},{"1350193256":["hashtag1","hashtag2"]},{"1350193244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350193252, 1350193261, 1350193248, 1350193242, 1350193256, 1350193244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65614676475525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:15:03.483836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_57_2698.jpg', '/home/pi/Desktop/images/06042025/14/19/image_06042025_14_20_00_3601.jpg', '/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_03_2795.jpg', '/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_06_2759.jpg', '/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_08_2706.jpg', '/home/pi/Desktop/images/06042025/14/27/image_06042025_14_27_32_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_19_57_2698.jpg
/home/pi/Desktop/images/06042025/14/19/image_06042025_14_20_00_3601.jpg
/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_03_2795.jpg
/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_06_2759.jpg
/home/pi/Desktop/images/06042025/14/20/image_06042025_14_20_08_2706.jpg
/home/pi/Desktop/images/06042025/14/27/image_06042025_14_27_32_3697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350193270","1350193273","1350193275","1350193266","1350193268","1350193265"],"photo_ids_order":["1350193265","1350193266","1350193268","1350193270","1350193273","1350193275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a69bc907b64b52ecc68b5f41528f4807.jpg","text":"TemporaryFile(/tmp/multipartBody1397190144497725524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970564374,"filename":"image_06042025_14_20_06_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/11662cfe6e76be1ba8ccc69949db3cee.jpg","text":"TemporaryFile(/tmp/multipartBody6291644609527703001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970564374,"filename":"image_06042025_14_20_08_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/723e674b6162a355742f7cab63c69efd.jpg","text":"TemporaryFile(/tmp/multipartBody2966776209121629152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970564374,"filename":"image_06042025_14_27_32_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/31ee0c0e1c36bd523cda4f7f99fcca27.jpg","text":"TemporaryFile(/tmp/multipartBody5406939031431104706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970564374,"filename":"image_06042025_14_20_00_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d85e44bb34342bd0331423c076ea6190.jpg","text":"TemporaryFile(/tmp/multipartBody4545293801090797201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970564374,"filename":"image_06042025_14_20_03_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8b0b4ccec28e8b15bcc6a5b33d2da479.jpg","text":"TemporaryFile(/tmp/multipartBody6316362133289992073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970564374,"filename":"image_06042025_14_19_57_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350193268","file1":"1350193266","file0":"1350193265","file4":"1350193273","file5":"1350193275","file3":"1350193270"},"map_files_photo_id_array":[{"photo_id":"1350193275","filename":"file5"},{"photo_id":"1350193268","filename":"file2"},{"photo_id":"1350193273","filename":"file4"},{"photo_id":"1350193266","filename":"file1"},{"photo_id":"1350193265","filename":"file0"},{"photo_id":"1350193270","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350193270":["hashtag1","hashtag2"]},{"1350193273":["hashtag1","hashtag2"]},{"1350193275":["hashtag1","hashtag2"]},{"1350193266":["hashtag1","hashtag2"]},{"1350193268":["hashtag1","hashtag2"]},{"1350193265":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350193270, 1350193273, 1350193275, 1350193266, 1350193268, 1350193265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16473698616028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:15:42.617911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_05_3610.jpg', '/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_08_2901.jpg', '/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_11_2631.jpg', '/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_13_2644.jpg', '/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_20_2548.jpg', '/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_56_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_05_3610.jpg
/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_08_2901.jpg
/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_11_2631.jpg
/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_13_2644.jpg
/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_20_2548.jpg
/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_56_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":["1350193294","1350193327","1350193324","1350193326","1350193311","1350193289"],"photo_ids_order":["1350193289","1350193294","1350193311","1350193324","1350193326","1350193327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f663f4e8510215b429c501cb72a17ffb.jpg","text":"TemporaryFile(/tmp/multipartBody6618136632403986882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970603372,"filename":"image_06042025_14_28_08_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/526a58d66d1c716f5093f43398797515.jpg","text":"TemporaryFile(/tmp/multipartBody1020042036997943584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970603372,"filename":"image_06042025_14_28_56_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d5f2e34913c6b35daf32cc28974eca9b.jpg","text":"TemporaryFile(/tmp/multipartBody2062588814742480513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970603372,"filename":"image_06042025_14_28_13_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/132f7dae41c310cff9297c3bff6e5330.jpg","text":"TemporaryFile(/tmp/multipartBody3559782571470727435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970603372,"filename":"image_06042025_14_28_20_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/07302446a3a8ad1b2687401a6909566f.jpg","text":"TemporaryFile(/tmp/multipartBody6183537266064562149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970603372,"filename":"image_06042025_14_28_11_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4d7441fbfd6bc82f5555d515adf97a0e.jpg","text":"TemporaryFile(/tmp/multipartBody1384737123580211268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970603372,"filename":"image_06042025_14_28_05_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350193311","file1":"1350193294","file0":"1350193289","file4":"1350193326","file5":"1350193327","file3":"1350193324"},"map_files_photo_id_array":[{"photo_id":"1350193327","filename":"file5"},{"photo_id":"1350193311","filename":"file2"},{"photo_id":"1350193326","filename":"file4"},{"photo_id":"1350193294","filename":"file1"},{"photo_id":"1350193289","filename":"file0"},{"photo_id":"1350193324","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350193294":["hashtag1","hashtag2"]},{"1350193327":["hashtag1","hashtag2"]},{"1350193324":["hashtag1","hashtag2"]},{"1350193326":["hashtag1","hashtag2"]},{"1350193311":["hashtag1","hashtag2"]},{"1350193289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350193294, 1350193327, 1350193324, 1350193326, 1350193311, 1350193289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25988268852234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:16:42.660702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_59_2651.jpg', '/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_02_2738.jpg', '/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_05_3642.jpg', '/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_08_2537.jpg', '/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_11_2766.jpg', '/home/pi/Desktop/images/06042025/14/31/image_06042025_14_31_10_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/14/28/image_06042025_14_28_59_2651.jpg
/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_02_2738.jpg
/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_05_3642.jpg
/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_08_2537.jpg
/home/pi/Desktop/images/06042025/14/29/image_06042025_14_29_11_2766.jpg
/home/pi/Desktop/images/06042025/14/31/image_06042025_14_31_10_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350193429","1350193440","1350193443","1350193437","1350193367","1350193445"],"photo_ids_order":["1350193367","1350193429","1350193437","1350193440","1350193443","1350193445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8aabb5dac1e23d1f9d36604ac33fcd22.jpg","text":"TemporaryFile(/tmp/multipartBody6942301670237143384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970663437,"filename":"image_06042025_14_29_02_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/89730d7168e4575d83e298e0c4e58df8.jpg","text":"TemporaryFile(/tmp/multipartBody6340646319077965540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970663437,"filename":"image_06042025_14_29_08_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/009fa427161aae5449958c9ad5728f0a.jpg","text":"TemporaryFile(/tmp/multipartBody700257611932154201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970663437,"filename":"image_06042025_14_29_11_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/33daad3188498a946048ba03f9c1409b.jpg","text":"TemporaryFile(/tmp/multipartBody2775272843852683511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970663437,"filename":"image_06042025_14_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/4/6/624e71198a52c16b651d799323d4289c.jpg","text":"TemporaryFile(/tmp/multipartBody1207045063022387038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970663437,"filename":"image_06042025_14_28_59_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/db6290ea74a160279cde55aae1ef1a20.jpg","text":"TemporaryFile(/tmp/multipartBody582837485837425899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970663437,"filename":"image_06042025_14_31_10_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350193437","file1":"1350193429","file0":"1350193367","file4":"1350193443","file5":"1350193445","file3":"1350193440"},"map_files_photo_id_array":[{"photo_id":"1350193445","filename":"file5"},{"photo_id":"1350193437","filename":"file2"},{"photo_id":"1350193443","filename":"file4"},{"photo_id":"1350193429","filename":"file1"},{"photo_id":"1350193367","filename":"file0"},{"photo_id":"1350193440","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350193429":["hashtag1","hashtag2"]},{"1350193440":["hashtag1","hashtag2"]},{"1350193443":["hashtag1","hashtag2"]},{"1350193437":["hashtag1","hashtag2"]},{"1350193367":["hashtag1","hashtag2"]},{"1350193445":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350193429, 1350193440, 1350193443, 1350193437, 1350193367, 1350193445)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.1069815158844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:17:43.493768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/32/image_06042025_14_32_25_2734.jpg', '/home/pi/Desktop/images/06042025/14/33/image_06042025_14_33_40_2873.jpg', '/home/pi/Desktop/images/06042025/14/33/image_06042025_14_33_46_2585.jpg', '/home/pi/Desktop/images/06042025/14/33/image_06042025_14_33_58_2667.jpg', '/home/pi/Desktop/images/06042025/14/34/image_06042025_14_34_31_2677.jpg', '/home/pi/Desktop/images/06042025/14/37/image_06042025_14_37_01_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/14/32/image_06042025_14_32_25_2734.jpg
/home/pi/Desktop/images/06042025/14/33/image_06042025_14_33_40_2873.jpg
/home/pi/Desktop/images/06042025/14/33/image_06042025_14_33_46_2585.jpg
/home/pi/Desktop/images/06042025/14/33/image_06042025_14_33_58_2667.jpg
/home/pi/Desktop/images/06042025/14/34/image_06042025_14_34_31_2677.jpg
/home/pi/Desktop/images/06042025/14/37/image_06042025_14_37_01_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":["1350193564","1350193592","1350193586","1350193574","1350193556","1350193601"],"photo_ids_order":["1350193556","1350193564","1350193574","1350193586","1350193592","1350193601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8cffa45b27fd433c29b0a6da53f63b63.jpg","text":"TemporaryFile(/tmp/multipartBody538640365924022428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970724235,"filename":"image_06042025_14_33_40_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cf4e6b964027c07a114937096666b027.jpg","text":"TemporaryFile(/tmp/multipartBody2012035643139600253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970724235,"filename":"image_06042025_14_34_31_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/000549444f69b7c603d4eea4a5f7fce5.jpg","text":"TemporaryFile(/tmp/multipartBody5443130176398355453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970724235,"filename":"image_06042025_14_33_58_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0b25145121c6bef96948a3d64d24aec2.jpg","text":"TemporaryFile(/tmp/multipartBody3784060995954995280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970724235,"filename":"image_06042025_14_33_46_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ff17bf632b62b597226d31e4480723e5.jpg","text":"TemporaryFile(/tmp/multipartBody2237068385524844544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970724235,"filename":"image_06042025_14_32_25_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e3236293cf4d58b5ecc908c832765335.jpg","text":"TemporaryFile(/tmp/multipartBody4352626232772490985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970724235,"filename":"image_06042025_14_37_01_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350193574","file1":"1350193564","file0":"1350193556","file4":"1350193592","file5":"1350193601","file3":"1350193586"},"map_files_photo_id_array":[{"photo_id":"1350193601","filename":"file5"},{"photo_id":"1350193574","filename":"file2"},{"photo_id":"1350193592","filename":"file4"},{"photo_id":"1350193564","filename":"file1"},{"photo_id":"1350193556","filename":"file0"},{"photo_id":"1350193586","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350193564":["hashtag1","hashtag2"]},{"1350193592":["hashtag1","hashtag2"]},{"1350193586":["hashtag1","hashtag2"]},{"1350193574":["hashtag1","hashtag2"]},{"1350193556":["hashtag1","hashtag2"]},{"1350193601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350193564, 1350193592, 1350193586, 1350193574, 1350193556, 1350193601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.683390617370605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:18:42.777027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/37/image_06042025_14_37_39_2640.jpg', '/home/pi/Desktop/images/06042025/14/39/image_06042025_14_39_06_2610.jpg', '/home/pi/Desktop/images/06042025/14/39/image_06042025_14_39_49_3025.jpg', '/home/pi/Desktop/images/06042025/14/41/image_06042025_14_41_51_3734.jpg', '/home/pi/Desktop/images/06042025/14/42/image_06042025_14_42_24_2668.jpg', '/home/pi/Desktop/images/06042025/14/43/image_06042025_14_43_09_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/14/37/image_06042025_14_37_39_2640.jpg
/home/pi/Desktop/images/06042025/14/39/image_06042025_14_39_06_2610.jpg
/home/pi/Desktop/images/06042025/14/39/image_06042025_14_39_49_3025.jpg
/home/pi/Desktop/images/06042025/14/41/image_06042025_14_41_51_3734.jpg
/home/pi/Desktop/images/06042025/14/42/image_06042025_14_42_24_2668.jpg
/home/pi/Desktop/images/06042025/14/43/image_06042025_14_43_09_3713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350193648","1350193641","1350193658","1350193652","1350193655","1350193637"],"photo_ids_order":["1350193637","1350193641","1350193648","1350193652","1350193655","1350193658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a4767ee79079c60802d29b02a548f0a4.jpg","text":"TemporaryFile(/tmp/multipartBody9218459643257155429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970783553,"filename":"image_06042025_14_39_49_3025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1465681723d7dd5026541bb2ebd99ee2.jpg","text":"TemporaryFile(/tmp/multipartBody7637806920286069544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970783553,"filename":"image_06042025_14_39_06_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3bbfba64bc379cfcca6051172c6e61e0.jpg","text":"TemporaryFile(/tmp/multipartBody8067620504833012010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970783553,"filename":"image_06042025_14_43_09_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/22c1879c0afcd974f49ec191bfe7c57a.jpg","text":"TemporaryFile(/tmp/multipartBody8115971041597730457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970783553,"filename":"image_06042025_14_41_51_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8d8b60a08f30b0866184dfefb87d7af5.jpg","text":"TemporaryFile(/tmp/multipartBody3748869062134220753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970783553,"filename":"image_06042025_14_42_24_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/619bac05b345c74991fc7f0fac3a8138.jpg","text":"TemporaryFile(/tmp/multipartBody2613423972884588841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970783553,"filename":"image_06042025_14_37_39_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350193648","file1":"1350193641","file0":"1350193637","file4":"1350193655","file5":"1350193658","file3":"1350193652"},"map_files_photo_id_array":[{"photo_id":"1350193658","filename":"file5"},{"photo_id":"1350193648","filename":"file2"},{"photo_id":"1350193655","filename":"file4"},{"photo_id":"1350193641","filename":"file1"},{"photo_id":"1350193637","filename":"file0"},{"photo_id":"1350193652","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350193648":["hashtag1","hashtag2"]},{"1350193641":["hashtag1","hashtag2"]},{"1350193658":["hashtag1","hashtag2"]},{"1350193652":["hashtag1","hashtag2"]},{"1350193655":["hashtag1","hashtag2"]},{"1350193637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350193648, 1350193641, 1350193658, 1350193652, 1350193655, 1350193637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7521755695343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:19:22.575418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/43/image_06042025_14_43_57_3618.jpg', '/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_03_2728.jpg', '/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_15_2670.jpg', '/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_30_3493.jpg', '/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_35_2705.jpg', '/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_39_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/14/43/image_06042025_14_43_57_3618.jpg
/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_03_2728.jpg
/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_15_2670.jpg
/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_30_3493.jpg
/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_35_2705.jpg
/home/pi/Desktop/images/06042025/14/44/image_06042025_14_44_39_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":["1350193696","1350193783","1350193791","1350193692","1350193716","1350193690"],"photo_ids_order":["1350193690","1350193692","1350193696","1350193716","1350193783","1350193791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/60b2e253e3408a09e5c2f33ae33d1c4d.jpg","text":"TemporaryFile(/tmp/multipartBody9212935394605477316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970823304,"filename":"image_06042025_14_44_15_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/536204ba115b7404dcb9337c8aaaf170.jpg","text":"TemporaryFile(/tmp/multipartBody67254234155308218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970823304,"filename":"image_06042025_14_44_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/4/6/8c7790f29405e046405799573ec9337b.jpg","text":"TemporaryFile(/tmp/multipartBody3556514489533490065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970823304,"filename":"image_06042025_14_44_39_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f7f82586b555dbb2216ba1378b60bb04.jpg","text":"TemporaryFile(/tmp/multipartBody3894600425117915771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970823304,"filename":"image_06042025_14_44_03_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/97d09816da9c0891d426f69fbaf20ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4752426911509312341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970823304,"filename":"image_06042025_14_44_30_3493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4f996ff4cb12905048a1f48594b22752.jpg","text":"TemporaryFile(/tmp/multipartBody474154945341342094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970823304,"filename":"image_06042025_14_43_57_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350193696","file1":"1350193692","file0":"1350193690","file4":"1350193783","file5":"1350193791","file3":"1350193716"},"map_files_photo_id_array":[{"photo_id":"1350193791","filename":"file5"},{"photo_id":"1350193696","filename":"file2"},{"photo_id":"1350193783","filename":"file4"},{"photo_id":"1350193692","filename":"file1"},{"photo_id":"1350193690","filename":"file0"},{"photo_id":"1350193716","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350193696":["hashtag1","hashtag2"]},{"1350193783":["hashtag1","hashtag2"]},{"1350193791":["hashtag1","hashtag2"]},{"1350193692":["hashtag1","hashtag2"]},{"1350193716":["hashtag1","hashtag2"]},{"1350193690":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350193696, 1350193783, 1350193791, 1350193692, 1350193716, 1350193690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.09454107284546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:20:22.413954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/45/image_06042025_14_45_30_2784.jpg', '/home/pi/Desktop/images/06042025/14/45/image_06042025_14_45_36_3631.jpg', '/home/pi/Desktop/images/06042025/14/46/image_06042025_14_46_33_3762.jpg', '/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_05_2711.jpg', '/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_25_8533.jpg', '/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_30_4872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/14/45/image_06042025_14_45_30_2784.jpg
/home/pi/Desktop/images/06042025/14/45/image_06042025_14_45_36_3631.jpg
/home/pi/Desktop/images/06042025/14/46/image_06042025_14_46_33_3762.jpg
/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_05_2711.jpg
/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_25_8533.jpg
/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_30_4872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350194002","1350193930","1350194031","1350194077","1350194071","1350194065"],"photo_ids_order":["1350193930","1350194002","1350194031","1350194065","1350194071","1350194077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/53e7c30fa4ebc418fe37f546e9170602.jpg","text":"TemporaryFile(/tmp/multipartBody3362275727252781703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970883187,"filename":"image_06042025_14_45_36_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4d5a86e581e4be8ecda57e1a83fa236c.jpg","text":"TemporaryFile(/tmp/multipartBody4352341130353524712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970883187,"filename":"image_06042025_14_45_30_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8438803cc7dec165a63172e902b17ae1.jpg","text":"TemporaryFile(/tmp/multipartBody3264546288755217363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970883187,"filename":"image_06042025_14_46_33_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2140d433890e074e545fc2887969c084.jpg","text":"TemporaryFile(/tmp/multipartBody4458764841073725265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970883187,"filename":"image_06042025_14_47_30_4872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9cf02ff650524262bdd819f7983ddd64.jpg","text":"TemporaryFile(/tmp/multipartBody3234693017278257703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970883187,"filename":"image_06042025_14_47_25_8533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a92785675bc1c05b336363a127a6c659.jpg","text":"TemporaryFile(/tmp/multipartBody4803887648614574033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970883187,"filename":"image_06042025_14_47_05_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350194031","file1":"1350194002","file0":"1350193930","file4":"1350194071","file5":"1350194077","file3":"1350194065"},"map_files_photo_id_array":[{"photo_id":"1350194077","filename":"file5"},{"photo_id":"1350194031","filename":"file2"},{"photo_id":"1350194071","filename":"file4"},{"photo_id":"1350194002","filename":"file1"},{"photo_id":"1350193930","filename":"file0"},{"photo_id":"1350194065","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350194002":["hashtag1","hashtag2"]},{"1350193930":["hashtag1","hashtag2"]},{"1350194031":["hashtag1","hashtag2"]},{"1350194077":["hashtag1","hashtag2"]},{"1350194071":["hashtag1","hashtag2"]},{"1350194065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350194002, 1350193930, 1350194031, 1350194077, 1350194071, 1350194065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.02720808982849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:21:22.515946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_31_1872.jpg', '/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_56_1618.jpg', '/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_07_1626.jpg', '/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_24_1778.jpg', '/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_35_9425.jpg', '/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_55_1804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_31_1872.jpg
/home/pi/Desktop/images/06042025/14/47/image_06042025_14_47_56_1618.jpg
/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_07_1626.jpg
/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_24_1778.jpg
/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_35_9425.jpg
/home/pi/Desktop/images/06042025/14/48/image_06042025_14_48_55_1804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350194199","1350194187","1350194090","1350194194","1350194092","1350194173"],"photo_ids_order":["1350194090","1350194092","1350194173","1350194187","1350194194","1350194199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/85715a50739b464a66a4f8305c2a4a78.jpg","text":"TemporaryFile(/tmp/multipartBody1057807039087120744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970943258,"filename":"image_06042025_14_48_55_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e4493635d8640121386e11df4b28d684.jpg","text":"TemporaryFile(/tmp/multipartBody7157830600218552885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970943258,"filename":"image_06042025_14_48_24_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4c8515c841e1ac211caeb7751611fc64.jpg","text":"TemporaryFile(/tmp/multipartBody1166255542434958532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970943258,"filename":"image_06042025_14_47_31_1872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7dcc7dfce2145657f2ec322b1bd9fae4.jpg","text":"TemporaryFile(/tmp/multipartBody4524894013002207553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970943258,"filename":"image_06042025_14_48_35_9425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/aa0d85e1341237901104c224e17d4fca.jpg","text":"TemporaryFile(/tmp/multipartBody7749832424627549729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970943258,"filename":"image_06042025_14_47_56_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8e2e38a4f36a652139ff7d1eb66de31a.jpg","text":"TemporaryFile(/tmp/multipartBody4203518614639698045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970943258,"filename":"image_06042025_14_48_07_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350194173","file1":"1350194092","file0":"1350194090","file4":"1350194194","file5":"1350194199","file3":"1350194187"},"map_files_photo_id_array":[{"photo_id":"1350194199","filename":"file5"},{"photo_id":"1350194173","filename":"file2"},{"photo_id":"1350194194","filename":"file4"},{"photo_id":"1350194092","filename":"file1"},{"photo_id":"1350194090","filename":"file0"},{"photo_id":"1350194187","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350194199":["hashtag1","hashtag2"]},{"1350194187":["hashtag1","hashtag2"]},{"1350194090":["hashtag1","hashtag2"]},{"1350194194":["hashtag1","hashtag2"]},{"1350194092":["hashtag1","hashtag2"]},{"1350194173":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350194199, 1350194187, 1350194090, 1350194194, 1350194092, 1350194173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93434023857117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:22:02.725060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/14/50/image_06042025_14_50_54_1978.jpg', '/home/pi/Desktop/images/06042025/14/53/image_06042025_14_53_05_2884.jpg', '/home/pi/Desktop/images/06042025/14/53/image_06042025_14_53_29_2705.jpg', '/home/pi/Desktop/images/06042025/14/54/image_06042025_14_54_42_2576.jpg', '/home/pi/Desktop/images/06042025/14/59/image_06042025_14_59_49_2637.jpg', '/home/pi/Desktop/images/06042025/15/07/image_06042025_15_07_32_1528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/14/50/image_06042025_14_50_54_1978.jpg
/home/pi/Desktop/images/06042025/14/53/image_06042025_14_53_05_2884.jpg
/home/pi/Desktop/images/06042025/14/53/image_06042025_14_53_29_2705.jpg
/home/pi/Desktop/images/06042025/14/54/image_06042025_14_54_42_2576.jpg
/home/pi/Desktop/images/06042025/14/59/image_06042025_14_59_49_2637.jpg
/home/pi/Desktop/images/06042025/15/07/image_06042025_15_07_32_1528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350194308","1350194223","1350194346","1350194342","1350194312","1350194350"],"photo_ids_order":["1350194223","1350194308","1350194312","1350194342","1350194346","1350194350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/51fe910ace00e3b4fe0adf6314a0918c.jpg","text":"TemporaryFile(/tmp/multipartBody548518783616756069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970983547,"filename":"image_06042025_14_53_05_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e07d16bd1502ef8d715d3b6b8b3c6538.jpg","text":"TemporaryFile(/tmp/multipartBody6521823886073160201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970983547,"filename":"image_06042025_14_50_54_1978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9873209fd2dbeb901ef0ffb53bf0e2a3.jpg","text":"TemporaryFile(/tmp/multipartBody1454332499734826793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970983547,"filename":"image_06042025_14_59_49_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/23a48811bc1c12e33dca33259baad3da.jpg","text":"TemporaryFile(/tmp/multipartBody1241380393985955717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970983547,"filename":"image_06042025_14_54_42_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cc0412c712009bb4e85fc27856a1215a.jpg","text":"TemporaryFile(/tmp/multipartBody7313875579677810517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970983547,"filename":"image_06042025_14_53_29_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4d14468e9e65515d9a68204aeb00a693.jpg","text":"TemporaryFile(/tmp/multipartBody6559266742646843425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743970983547,"filename":"image_06042025_15_07_32_1528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350194312","file1":"1350194308","file0":"1350194223","file4":"1350194346","file5":"1350194350","file3":"1350194342"},"map_files_photo_id_array":[{"photo_id":"1350194350","filename":"file5"},{"photo_id":"1350194312","filename":"file2"},{"photo_id":"1350194346","filename":"file4"},{"photo_id":"1350194308","filename":"file1"},{"photo_id":"1350194223","filename":"file0"},{"photo_id":"1350194342","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350194308":["hashtag1","hashtag2"]},{"1350194223":["hashtag1","hashtag2"]},{"1350194346":["hashtag1","hashtag2"]},{"1350194342":["hashtag1","hashtag2"]},{"1350194312":["hashtag1","hashtag2"]},{"1350194350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350194308, 1350194223, 1350194346, 1350194342, 1350194312, 1350194350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.822176933288574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:22:42.132684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_03_3686.jpg', '/home/pi/Desktop/images/06042025/15/25/image_06042025_15_25_03_3766.jpg', '/home/pi/Desktop/images/06042025/15/35/image_06042025_15_35_04_2835.jpg', '/home/pi/Desktop/images/06042025/15/45/image_06042025_15_45_48_3526.jpg', '/home/pi/Desktop/images/06042025/15/57/image_06042025_15_57_26_2819.jpg', '/home/pi/Desktop/images/06042025/16/11/image_06042025_16_11_25_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_03_3686.jpg
/home/pi/Desktop/images/06042025/15/25/image_06042025_15_25_03_3766.jpg
/home/pi/Desktop/images/06042025/15/35/image_06042025_15_35_04_2835.jpg
/home/pi/Desktop/images/06042025/15/45/image_06042025_15_45_48_3526.jpg
/home/pi/Desktop/images/06042025/15/57/image_06042025_15_57_26_2819.jpg
/home/pi/Desktop/images/06042025/16/11/image_06042025_16_11_25_3556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350194364","1350194358","1350194375","1350194366","1350194369","1350194354"],"photo_ids_order":["1350194354","1350194358","1350194364","1350194366","1350194369","1350194375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d91e0ad789d7af4d686197f2f121c3d2.jpg","text":"TemporaryFile(/tmp/multipartBody7941052792622903044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971022830,"filename":"image_06042025_15_35_04_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/28a4ffb755230a446c456e54915d5bc1.jpg","text":"TemporaryFile(/tmp/multipartBody6025285909007566435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971022830,"filename":"image_06042025_15_25_03_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fbcce0299fb0d5c830bdcbc7da3dac6c.jpg","text":"TemporaryFile(/tmp/multipartBody5618608795514975410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971022830,"filename":"image_06042025_16_11_25_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0c9b415b5bc41c092da1bc688d3aaac9.jpg","text":"TemporaryFile(/tmp/multipartBody3814859867500040320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971022830,"filename":"image_06042025_15_45_48_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/035b7554148819830a1e9ac23cc6fff2.jpg","text":"TemporaryFile(/tmp/multipartBody2321579629556172488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971022830,"filename":"image_06042025_15_57_26_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e91129dc7e689aa58bc08ce9222b4d62.jpg","text":"TemporaryFile(/tmp/multipartBody6346631613880847402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971022830,"filename":"image_06042025_15_17_03_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350194364","file1":"1350194358","file0":"1350194354","file4":"1350194369","file5":"1350194375","file3":"1350194366"},"map_files_photo_id_array":[{"photo_id":"1350194375","filename":"file5"},{"photo_id":"1350194364","filename":"file2"},{"photo_id":"1350194369","filename":"file4"},{"photo_id":"1350194358","filename":"file1"},{"photo_id":"1350194354","filename":"file0"},{"photo_id":"1350194366","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350194364":["hashtag1","hashtag2"]},{"1350194358":["hashtag1","hashtag2"]},{"1350194375":["hashtag1","hashtag2"]},{"1350194366":["hashtag1","hashtag2"]},{"1350194369":["hashtag1","hashtag2"]},{"1350194354":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350194364, 1350194358, 1350194375, 1350194366, 1350194369, 1350194354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.514715909957886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:23:22.212046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/16/21/image_06042025_16_21_32_2637.jpg', '/home/pi/Desktop/images/06042025/16/35/image_06042025_16_35_26_3574.jpg', '/home/pi/Desktop/images/06042025/16/39/image_06042025_16_39_17_1542.jpg', '/home/pi/Desktop/images/06042025/16/42/image_06042025_16_42_01_2589.jpg', '/home/pi/Desktop/images/06042025/16/44/image_06042025_16_44_07_2667.jpg', '/home/pi/Desktop/images/06042025/16/49/image_06042025_16_49_01_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/16/21/image_06042025_16_21_32_2637.jpg
/home/pi/Desktop/images/06042025/16/35/image_06042025_16_35_26_3574.jpg
/home/pi/Desktop/images/06042025/16/39/image_06042025_16_39_17_1542.jpg
/home/pi/Desktop/images/06042025/16/42/image_06042025_16_42_01_2589.jpg
/home/pi/Desktop/images/06042025/16/44/image_06042025_16_44_07_2667.jpg
/home/pi/Desktop/images/06042025/16/49/image_06042025_16_49_01_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350194487","1350194390","1350194473","1350194467","1350194482","1350194461"],"photo_ids_order":["1350194390","1350194461","1350194467","1350194473","1350194482","1350194487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/42659ea3e3b39a1209884e8e6b1681b3.jpg","text":"TemporaryFile(/tmp/multipartBody3931671116488584770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971062886,"filename":"image_06042025_16_49_01_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/679e7d73e5aa2506c0a5c4cc0bd12d42.jpg","text":"TemporaryFile(/tmp/multipartBody3726622479543927879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971062886,"filename":"image_06042025_16_21_32_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/483b250fc5f2c199d317b40df919a55d.jpg","text":"TemporaryFile(/tmp/multipartBody4528803589197726763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971062886,"filename":"image_06042025_16_42_01_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f3f7461f8e568094b5cff23584efe364.jpg","text":"TemporaryFile(/tmp/multipartBody32097150186719247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971062886,"filename":"image_06042025_16_39_17_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d8e185d395f5573287d78d4779d8ddcb.jpg","text":"TemporaryFile(/tmp/multipartBody6628400718569939551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971062886,"filename":"image_06042025_16_44_07_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/50ea2bd9eb00424f2def834b1b13f7d0.jpg","text":"TemporaryFile(/tmp/multipartBody5726119804940114011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971062886,"filename":"image_06042025_16_35_26_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350194467","file1":"1350194461","file0":"1350194390","file4":"1350194482","file5":"1350194487","file3":"1350194473"},"map_files_photo_id_array":[{"photo_id":"1350194487","filename":"file5"},{"photo_id":"1350194467","filename":"file2"},{"photo_id":"1350194482","filename":"file4"},{"photo_id":"1350194461","filename":"file1"},{"photo_id":"1350194390","filename":"file0"},{"photo_id":"1350194473","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350194487":["hashtag1","hashtag2"]},{"1350194390":["hashtag1","hashtag2"]},{"1350194473":["hashtag1","hashtag2"]},{"1350194467":["hashtag1","hashtag2"]},{"1350194482":["hashtag1","hashtag2"]},{"1350194461":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350194487, 1350194390, 1350194473, 1350194467, 1350194482, 1350194461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.872638463974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:24:03.007616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/17/19/image_06042025_17_19_31_2867.jpg', '/home/pi/Desktop/images/06042025/17/27/image_06042025_17_27_28_3764.jpg', '/home/pi/Desktop/images/06042025/17/28/image_06042025_17_28_30_2606.jpg', '/home/pi/Desktop/images/06042025/17/28/image_06042025_17_28_48_3023.jpg', '/home/pi/Desktop/images/06042025/17/29/image_06042025_17_29_39_2678.jpg', '/home/pi/Desktop/images/06042025/17/36/image_06042025_17_36_53_3749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/17/19/image_06042025_17_19_31_2867.jpg
/home/pi/Desktop/images/06042025/17/27/image_06042025_17_27_28_3764.jpg
/home/pi/Desktop/images/06042025/17/28/image_06042025_17_28_30_2606.jpg
/home/pi/Desktop/images/06042025/17/28/image_06042025_17_28_48_3023.jpg
/home/pi/Desktop/images/06042025/17/29/image_06042025_17_29_39_2678.jpg
/home/pi/Desktop/images/06042025/17/36/image_06042025_17_36_53_3749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350194539","1350194532","1350194526","1350194534","1350194536","1350194521"],"photo_ids_order":["1350194521","1350194526","1350194532","1350194534","1350194536","1350194539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/1edc9ff165fd9d28539f01412ec7011b.jpg","text":"TemporaryFile(/tmp/multipartBody8883886329811110582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971103768,"filename":"image_06042025_17_36_53_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6b77318d38038e63e82398eee487e1b0.jpg","text":"TemporaryFile(/tmp/multipartBody6323779794449155518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971103768,"filename":"image_06042025_17_28_30_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4ae88756839f121ca7f607eebb5666c3.jpg","text":"TemporaryFile(/tmp/multipartBody4534606484294276809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971103768,"filename":"image_06042025_17_27_28_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/29809caec36df06e51f63fd3e9b8763a.jpg","text":"TemporaryFile(/tmp/multipartBody8002274644793504794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971103768,"filename":"image_06042025_17_28_48_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/968cf98694d6a84557b560013f7f718d.jpg","text":"TemporaryFile(/tmp/multipartBody6669192308697321822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971103768,"filename":"image_06042025_17_29_39_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/8ddc65e7e9adfce958b6e18342ad6d0d.jpg","text":"TemporaryFile(/tmp/multipartBody2889972022230596134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971103768,"filename":"image_06042025_17_19_31_2867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350194532","file1":"1350194526","file0":"1350194521","file4":"1350194536","file5":"1350194539","file3":"1350194534"},"map_files_photo_id_array":[{"photo_id":"1350194539","filename":"file5"},{"photo_id":"1350194532","filename":"file2"},{"photo_id":"1350194536","filename":"file4"},{"photo_id":"1350194526","filename":"file1"},{"photo_id":"1350194521","filename":"file0"},{"photo_id":"1350194534","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350194539":["hashtag1","hashtag2"]},{"1350194532":["hashtag1","hashtag2"]},{"1350194526":["hashtag1","hashtag2"]},{"1350194534":["hashtag1","hashtag2"]},{"1350194536":["hashtag1","hashtag2"]},{"1350194521":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350194539, 1350194532, 1350194526, 1350194534, 1350194536, 1350194521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18377065658569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:24:42.361365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/17/46/image_06042025_17_46_10_3784.jpg', '/home/pi/Desktop/images/06042025/17/47/image_06042025_17_47_49_2676.jpg', '/home/pi/Desktop/images/06042025/17/48/image_06042025_17_48_43_2606.jpg', '/home/pi/Desktop/images/06042025/17/48/image_06042025_17_48_54_2737.jpg', '/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_07_3759.jpg', '/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_25_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/17/46/image_06042025_17_46_10_3784.jpg
/home/pi/Desktop/images/06042025/17/47/image_06042025_17_47_49_2676.jpg
/home/pi/Desktop/images/06042025/17/48/image_06042025_17_48_43_2606.jpg
/home/pi/Desktop/images/06042025/17/48/image_06042025_17_48_54_2737.jpg
/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_07_3759.jpg
/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_25_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":["1350194595","1350194592","1350194573","1350194561","1350194587","1350194557"],"photo_ids_order":["1350194557","1350194561","1350194573","1350194587","1350194592","1350194595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/554a89223d668c6a693fe3ca65b22bd6.jpg","text":"TemporaryFile(/tmp/multipartBody3242390190990858018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971143073,"filename":"image_06042025_17_49_25_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/bce92de175e78529aaecdfb290248a4e.jpg","text":"TemporaryFile(/tmp/multipartBody6166197137010514433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971143073,"filename":"image_06042025_17_49_07_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ebc64b4e41b835d38f8b3b739d7f1c4e.jpg","text":"TemporaryFile(/tmp/multipartBody2919082356436819555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971143073,"filename":"image_06042025_17_48_43_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/779608e21b8909d57258324c16947217.jpg","text":"TemporaryFile(/tmp/multipartBody1936243290692870065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971143073,"filename":"image_06042025_17_47_49_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2ce9636627186d6d9c1b7d25286303bb.jpg","text":"TemporaryFile(/tmp/multipartBody4448196029995538472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971143073,"filename":"image_06042025_17_48_54_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c2838268ce3379aa7aee32231e3d137b.jpg","text":"TemporaryFile(/tmp/multipartBody7985132472591415011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971143073,"filename":"image_06042025_17_46_10_3784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350194573","file1":"1350194561","file0":"1350194557","file4":"1350194592","file5":"1350194595","file3":"1350194587"},"map_files_photo_id_array":[{"photo_id":"1350194595","filename":"file5"},{"photo_id":"1350194573","filename":"file2"},{"photo_id":"1350194592","filename":"file4"},{"photo_id":"1350194561","filename":"file1"},{"photo_id":"1350194557","filename":"file0"},{"photo_id":"1350194587","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350194595":["hashtag1","hashtag2"]},{"1350194592":["hashtag1","hashtag2"]},{"1350194573":["hashtag1","hashtag2"]},{"1350194561":["hashtag1","hashtag2"]},{"1350194587":["hashtag1","hashtag2"]},{"1350194557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350194595, 1350194592, 1350194573, 1350194561, 1350194587, 1350194557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.150147914886475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:25:42.127400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_52_2750.jpg', '/home/pi/Desktop/images/06042025/17/50/image_06042025_17_50_22_2602.jpg', '/home/pi/Desktop/images/06042025/17/50/image_06042025_17_50_46_2775.jpg', '/home/pi/Desktop/images/06042025/17/51/image_06042025_17_51_58_2916.jpg', '/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_07_2763.jpg', '/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_22_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_52_2750.jpg
/home/pi/Desktop/images/06042025/17/50/image_06042025_17_50_22_2602.jpg
/home/pi/Desktop/images/06042025/17/50/image_06042025_17_50_46_2775.jpg
/home/pi/Desktop/images/06042025/17/51/image_06042025_17_51_58_2916.jpg
/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_07_2763.jpg
/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_22_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350194632","1350194655","1350194637","1350194645","1350194647","1350194641"],"photo_ids_order":["1350194632","1350194637","1350194641","1350194645","1350194647","1350194655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/216861d569b4006de111f10d3cf2e122.jpg","text":"TemporaryFile(/tmp/multipartBody6369925393446391207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971202846,"filename":"image_06042025_17_49_52_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b123ab0e3a7a1659e04a46164bca6d94.jpg","text":"TemporaryFile(/tmp/multipartBody3245976485299653274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971202846,"filename":"image_06042025_17_52_22_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/896f59b76bb3eeba910a2851da5e24d6.jpg","text":"TemporaryFile(/tmp/multipartBody3985476310071053029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971202846,"filename":"image_06042025_17_50_22_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e516bd9de1a94ef5909362ac0939af92.jpg","text":"TemporaryFile(/tmp/multipartBody7748891331736297716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971202846,"filename":"image_06042025_17_51_58_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6d7d51782c8a4627e0573bc269ebbe49.jpg","text":"TemporaryFile(/tmp/multipartBody3925348103837818201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971202846,"filename":"image_06042025_17_52_07_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f17c9790d2f5be3cd98e3183a1ec8309.jpg","text":"TemporaryFile(/tmp/multipartBody8060833196422225884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971202846,"filename":"image_06042025_17_50_46_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350194641","file1":"1350194637","file0":"1350194632","file4":"1350194647","file5":"1350194655","file3":"1350194645"},"map_files_photo_id_array":[{"photo_id":"1350194655","filename":"file5"},{"photo_id":"1350194641","filename":"file2"},{"photo_id":"1350194647","filename":"file4"},{"photo_id":"1350194637","filename":"file1"},{"photo_id":"1350194632","filename":"file0"},{"photo_id":"1350194645","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350194632":["hashtag1","hashtag2"]},{"1350194655":["hashtag1","hashtag2"]},{"1350194637":["hashtag1","hashtag2"]},{"1350194645":["hashtag1","hashtag2"]},{"1350194647":["hashtag1","hashtag2"]},{"1350194641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350194632, 1350194655, 1350194637, 1350194645, 1350194647, 1350194641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35113263130188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:26:22.386730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_43_2888.jpg', '/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_28_2723.jpg', '/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_43_3797.jpg', '/home/pi/Desktop/images/06042025/17/54/image_06042025_17_54_37_3655.jpg', '/home/pi/Desktop/images/06042025/17/54/image_06042025_17_54_52_2707.jpg', '/home/pi/Desktop/images/06042025/17/56/image_06042025_17_56_14_2818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_43_2888.jpg
/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_28_2723.jpg
/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_43_3797.jpg
/home/pi/Desktop/images/06042025/17/54/image_06042025_17_54_37_3655.jpg
/home/pi/Desktop/images/06042025/17/54/image_06042025_17_54_52_2707.jpg
/home/pi/Desktop/images/06042025/17/56/image_06042025_17_56_14_2818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350194710","1350194757","1350194670","1350194667","1350194754","1350194714"],"photo_ids_order":["1350194667","1350194670","1350194710","1350194714","1350194754","1350194757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/916b95e8ce78ecef0d501467d1dbb673.jpg","text":"TemporaryFile(/tmp/multipartBody6420981157519955702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971243078,"filename":"image_06042025_17_53_43_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ca8d3857950f78fb516ae900e7d7804b.jpg","text":"TemporaryFile(/tmp/multipartBody2092566878249103949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971243078,"filename":"image_06042025_17_56_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/4/6/860c539b5cfc68a505b152059cf54d8e.jpg","text":"TemporaryFile(/tmp/multipartBody4703190239929056329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971243078,"filename":"image_06042025_17_53_28_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a4aa8a5491c3a56210134314200e03b9.jpg","text":"TemporaryFile(/tmp/multipartBody87051924569709029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971243078,"filename":"image_06042025_17_52_43_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/22e5f0583b38539f7c335702f95566aa.jpg","text":"TemporaryFile(/tmp/multipartBody339313173693700543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971243078,"filename":"image_06042025_17_54_52_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/89a1df025e7200603883eaaf11d409b3.jpg","text":"TemporaryFile(/tmp/multipartBody6902688305492427962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971243078,"filename":"image_06042025_17_54_37_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350194710","file1":"1350194670","file0":"1350194667","file4":"1350194754","file5":"1350194757","file3":"1350194714"},"map_files_photo_id_array":[{"photo_id":"1350194757","filename":"file5"},{"photo_id":"1350194710","filename":"file2"},{"photo_id":"1350194754","filename":"file4"},{"photo_id":"1350194670","filename":"file1"},{"photo_id":"1350194667","filename":"file0"},{"photo_id":"1350194714","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350194710":["hashtag1","hashtag2"]},{"1350194757":["hashtag1","hashtag2"]},{"1350194670":["hashtag1","hashtag2"]},{"1350194667":["hashtag1","hashtag2"]},{"1350194754":["hashtag1","hashtag2"]},{"1350194714":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350194710, 1350194757, 1350194670, 1350194667, 1350194754, 1350194714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.990620851516724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:27:22.590779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/17/57/image_06042025_17_57_25_2686.jpg', '/home/pi/Desktop/images/06042025/17/57/image_06042025_17_57_46_2780.jpg', '/home/pi/Desktop/images/06042025/17/57/image_06042025_17_57_59_3722.jpg', '/home/pi/Desktop/images/06042025/17/58/image_06042025_17_58_37_2649.jpg', '/home/pi/Desktop/images/06042025/17/59/image_06042025_17_59_22_2712.jpg', '/home/pi/Desktop/images/06042025/17/59/image_06042025_17_59_31_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/17/57/image_06042025_17_57_25_2686.jpg
/home/pi/Desktop/images/06042025/17/57/image_06042025_17_57_46_2780.jpg
/home/pi/Desktop/images/06042025/17/57/image_06042025_17_57_59_3722.jpg
/home/pi/Desktop/images/06042025/17/58/image_06042025_17_58_37_2649.jpg
/home/pi/Desktop/images/06042025/17/59/image_06042025_17_59_22_2712.jpg
/home/pi/Desktop/images/06042025/17/59/image_06042025_17_59_31_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":["1350194874","1350194868","1350194871","1350194865","1350194878","1350194860"],"photo_ids_order":["1350194860","1350194865","1350194868","1350194871","1350194874","1350194878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7b98febbdc94e4438ef58f658deeff5f.jpg","text":"TemporaryFile(/tmp/multipartBody2895851010430775426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971303267,"filename":"image_06042025_17_59_22_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/35c781f8ba4c1441a32e0aa62ae504ae.jpg","text":"TemporaryFile(/tmp/multipartBody6287528281412682514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971303267,"filename":"image_06042025_17_57_59_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/cf50db269fb87e6f0a426ad104033e8d.jpg","text":"TemporaryFile(/tmp/multipartBody4834399986840651483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971303267,"filename":"image_06042025_17_58_37_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/571848689c1d386afdf413550ff669b1.jpg","text":"TemporaryFile(/tmp/multipartBody7195601234083493556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971303267,"filename":"image_06042025_17_57_46_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b184369823f20401c66283e35ebf9160.jpg","text":"TemporaryFile(/tmp/multipartBody5056860400575917913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971303267,"filename":"image_06042025_17_59_31_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/baca05f8419788133a9de4638f0bc7bc.jpg","text":"TemporaryFile(/tmp/multipartBody94939263782270595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971303267,"filename":"image_06042025_17_57_25_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350194868","file1":"1350194865","file0":"1350194860","file4":"1350194874","file5":"1350194878","file3":"1350194871"},"map_files_photo_id_array":[{"photo_id":"1350194878","filename":"file5"},{"photo_id":"1350194868","filename":"file2"},{"photo_id":"1350194874","filename":"file4"},{"photo_id":"1350194865","filename":"file1"},{"photo_id":"1350194860","filename":"file0"},{"photo_id":"1350194871","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350194874":["hashtag1","hashtag2"]},{"1350194868":["hashtag1","hashtag2"]},{"1350194871":["hashtag1","hashtag2"]},{"1350194865":["hashtag1","hashtag2"]},{"1350194878":["hashtag1","hashtag2"]},{"1350194860":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350194874, 1350194868, 1350194871, 1350194865, 1350194878, 1350194860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.076539516448975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:28:21.904863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/17/59/image_06042025_17_59_46_2131.jpg', '/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_07_3012.jpg', '/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_22_2560.jpg', '/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_37_2707.jpg', '/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_49_2704.jpg', '/home/pi/Desktop/images/06042025/18/02/image_06042025_18_02_06_1735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/17/59/image_06042025_17_59_46_2131.jpg
/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_07_3012.jpg
/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_22_2560.jpg
/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_37_2707.jpg
/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_49_2704.jpg
/home/pi/Desktop/images/06042025/18/02/image_06042025_18_02_06_1735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350195030","1350194937","1350194939","1350195031","1350195028","1350194944"],"photo_ids_order":["1350194937","1350194939","1350194944","1350195028","1350195030","1350195031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/dec00804eb255cef51b602c94e9d514f.jpg","text":"TemporaryFile(/tmp/multipartBody6864831588261393769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971362595,"filename":"image_06042025_18_01_49_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/68c4906040cd2119e8e9a983ed982fdd.jpg","text":"TemporaryFile(/tmp/multipartBody2701626363581977058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971362595,"filename":"image_06042025_17_59_46_2131.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e60532a12720a3e0139a0359b2d47809.jpg","text":"TemporaryFile(/tmp/multipartBody5712563235826599727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971362595,"filename":"image_06042025_18_01_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b2fd49ab3dd895efdd44dad3b6ddced2.jpg","text":"TemporaryFile(/tmp/multipartBody9219229659955000327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971362595,"filename":"image_06042025_18_02_06_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/15300534dac00c739be9d11dcbfd5915.jpg","text":"TemporaryFile(/tmp/multipartBody7380722194488509300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971362595,"filename":"image_06042025_18_01_37_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9aed4855e77fb75e333d3690dac41e5f.jpg","text":"TemporaryFile(/tmp/multipartBody2273730188014190069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971362595,"filename":"image_06042025_18_01_22_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350194944","file1":"1350194939","file0":"1350194937","file4":"1350195030","file5":"1350195031","file3":"1350195028"},"map_files_photo_id_array":[{"photo_id":"1350195031","filename":"file5"},{"photo_id":"1350194944","filename":"file2"},{"photo_id":"1350195030","filename":"file4"},{"photo_id":"1350194939","filename":"file1"},{"photo_id":"1350194937","filename":"file0"},{"photo_id":"1350195028","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350195030":["hashtag1","hashtag2"]},{"1350194937":["hashtag1","hashtag2"]},{"1350194939":["hashtag1","hashtag2"]},{"1350195031":["hashtag1","hashtag2"]},{"1350195028":["hashtag1","hashtag2"]},{"1350194944":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350195030, 1350194937, 1350194939, 1350195031, 1350195028, 1350194944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.2534818649292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:29:22.504089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/18/02/image_06042025_18_02_11_2861.jpg', '/home/pi/Desktop/images/06042025/18/06/image_06042025_18_06_40_3723.jpg', '/home/pi/Desktop/images/06042025/18/11/image_06042025_18_11_36_2749.jpg', '/home/pi/Desktop/images/06042025/18/25/image_06042025_18_25_11_2552.jpg', '/home/pi/Desktop/images/06042025/19/30/image_06042025_19_30_59_3718.jpg', '/home/pi/Desktop/images/06042025/19/52/image_06042025_19_52_33_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/18/02/image_06042025_18_02_11_2861.jpg
/home/pi/Desktop/images/06042025/18/06/image_06042025_18_06_40_3723.jpg
/home/pi/Desktop/images/06042025/18/11/image_06042025_18_11_36_2749.jpg
/home/pi/Desktop/images/06042025/18/25/image_06042025_18_25_11_2552.jpg
/home/pi/Desktop/images/06042025/19/30/image_06042025_19_30_59_3718.jpg
/home/pi/Desktop/images/06042025/19/52/image_06042025_19_52_33_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":["1350195144","1350195152","1350195047","1350195140","1350195136","1350195133"],"photo_ids_order":["1350195047","1350195133","1350195136","1350195140","1350195144","1350195152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/25d90c24b83495ab2f3619d09265602c.jpg","text":"TemporaryFile(/tmp/multipartBody1087825998084956137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971423183,"filename":"image_06042025_19_30_59_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f7c71d17711ca209f371d07ac53927ae.jpg","text":"TemporaryFile(/tmp/multipartBody5284749284559980669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971423183,"filename":"image_06042025_19_52_33_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/e56554e94d34711ede889eb6d81f59c9.jpg","text":"TemporaryFile(/tmp/multipartBody5372865218958436976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971423183,"filename":"image_06042025_18_02_11_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/74d919c57637eee1c4470907cce1d0fc.jpg","text":"TemporaryFile(/tmp/multipartBody7781208641584578798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971423183,"filename":"image_06042025_18_25_11_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a9417bfeff2b7b5a7a25774e94a60e8e.jpg","text":"TemporaryFile(/tmp/multipartBody548389170316900591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971423183,"filename":"image_06042025_18_11_36_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/71fdc0231ce56f10fc9e5271084df63e.jpg","text":"TemporaryFile(/tmp/multipartBody4865519070901560734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971423183,"filename":"image_06042025_18_06_40_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350195136","file1":"1350195133","file0":"1350195047","file4":"1350195144","file5":"1350195152","file3":"1350195140"},"map_files_photo_id_array":[{"photo_id":"1350195152","filename":"file5"},{"photo_id":"1350195136","filename":"file2"},{"photo_id":"1350195144","filename":"file4"},{"photo_id":"1350195133","filename":"file1"},{"photo_id":"1350195047","filename":"file0"},{"photo_id":"1350195140","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350195144":["hashtag1","hashtag2"]},{"1350195152":["hashtag1","hashtag2"]},{"1350195047":["hashtag1","hashtag2"]},{"1350195140":["hashtag1","hashtag2"]},{"1350195136":["hashtag1","hashtag2"]},{"1350195133":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350195144, 1350195152, 1350195047, 1350195140, 1350195136, 1350195133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.16508960723877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:30:22.651784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/17/image_06042025_20_17_48_3651.jpg', '/home/pi/Desktop/images/06042025/20/47/image_06042025_20_47_48_2681.jpg', '/home/pi/Desktop/images/06042025/21/03/image_06042025_21_03_17_2568.jpg', '/home/pi/Desktop/images/06042025/21/08/image_06042025_21_08_19_3545.jpg', '/home/pi/Desktop/images/06042025/21/11/image_06042025_21_11_46_3585.jpg', '/home/pi/Desktop/images/06042025/21/14/image_06042025_21_14_40_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/20/17/image_06042025_20_17_48_3651.jpg
/home/pi/Desktop/images/06042025/20/47/image_06042025_20_47_48_2681.jpg
/home/pi/Desktop/images/06042025/21/03/image_06042025_21_03_17_2568.jpg
/home/pi/Desktop/images/06042025/21/08/image_06042025_21_08_19_3545.jpg
/home/pi/Desktop/images/06042025/21/11/image_06042025_21_11_46_3585.jpg
/home/pi/Desktop/images/06042025/21/14/image_06042025_21_14_40_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350195168","1350195164","1350195193","1350195196","1350195217","1350195166"],"photo_ids_order":["1350195164","1350195166","1350195168","1350195193","1350195196","1350195217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9e3453936a041077c0f14ce46d1a545b.jpg","text":"TemporaryFile(/tmp/multipartBody5835548527925437026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971483324,"filename":"image_06042025_21_03_17_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7ca45685a05344d31cc3a50b071779ea.jpg","text":"TemporaryFile(/tmp/multipartBody8796891863317195110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971483324,"filename":"image_06042025_20_17_48_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/18d94ec27e303add4e56e4e519885768.jpg","text":"TemporaryFile(/tmp/multipartBody5384439542565597243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971483324,"filename":"image_06042025_21_08_19_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/dc62c486d23fa7b01585e9be2b8de668.jpg","text":"TemporaryFile(/tmp/multipartBody9215295454050832139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971483324,"filename":"image_06042025_21_11_46_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/779fefc47eb590dcca4f09715518102b.jpg","text":"TemporaryFile(/tmp/multipartBody1737844411809002201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971483324,"filename":"image_06042025_21_14_40_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f2cf646d3e0b774482a59cf019fd1746.jpg","text":"TemporaryFile(/tmp/multipartBody3023784248135388819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971483324,"filename":"image_06042025_20_47_48_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350195168","file1":"1350195166","file0":"1350195164","file4":"1350195196","file5":"1350195217","file3":"1350195193"},"map_files_photo_id_array":[{"photo_id":"1350195217","filename":"file5"},{"photo_id":"1350195168","filename":"file2"},{"photo_id":"1350195196","filename":"file4"},{"photo_id":"1350195166","filename":"file1"},{"photo_id":"1350195164","filename":"file0"},{"photo_id":"1350195193","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350195168":["hashtag1","hashtag2"]},{"1350195164":["hashtag1","hashtag2"]},{"1350195193":["hashtag1","hashtag2"]},{"1350195196":["hashtag1","hashtag2"]},{"1350195217":["hashtag1","hashtag2"]},{"1350195166":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350195168, 1350195164, 1350195193, 1350195196, 1350195217, 1350195166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42949342727661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:31:02.594064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/15/image_06042025_21_15_54_2665.jpg', '/home/pi/Desktop/images/06042025/21/16/image_06042025_21_16_27_2635.jpg', '/home/pi/Desktop/images/06042025/21/17/image_06042025_21_17_39_2720.jpg', '/home/pi/Desktop/images/06042025/21/18/image_06042025_21_18_03_2665.jpg', '/home/pi/Desktop/images/06042025/21/18/image_06042025_21_18_28_3672.jpg', '/home/pi/Desktop/images/06042025/21/19/image_06042025_21_19_04_3124.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/21/15/image_06042025_21_15_54_2665.jpg
/home/pi/Desktop/images/06042025/21/16/image_06042025_21_16_27_2635.jpg
/home/pi/Desktop/images/06042025/21/17/image_06042025_21_17_39_2720.jpg
/home/pi/Desktop/images/06042025/21/18/image_06042025_21_18_03_2665.jpg
/home/pi/Desktop/images/06042025/21/18/image_06042025_21_18_28_3672.jpg
/home/pi/Desktop/images/06042025/21/19/image_06042025_21_19_04_3124.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350195357","1350195354","1350195361","1350195364","1350195319","1350195304"],"photo_ids_order":["1350195304","1350195319","1350195354","1350195357","1350195361","1350195364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/de877898b22e2b44c25466d224c50f00.jpg","text":"TemporaryFile(/tmp/multipartBody6521056139710864723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971523406,"filename":"image_06042025_21_18_03_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a82fa1a5a200c1e97f3aa9df2f720a67.jpg","text":"TemporaryFile(/tmp/multipartBody1372855313994543906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971523406,"filename":"image_06042025_21_17_39_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/07a5e54219a653ddb869efa34968e3b2.jpg","text":"TemporaryFile(/tmp/multipartBody6428607520340691341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971523406,"filename":"image_06042025_21_18_28_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/55c1e1b3a2db82b24e2898c62e0472e7.jpg","text":"TemporaryFile(/tmp/multipartBody7724567477850174689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971523406,"filename":"image_06042025_21_19_04_3124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/793ea8bf0dddec0cc6132706a569398d.jpg","text":"TemporaryFile(/tmp/multipartBody8772695437602850498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971523406,"filename":"image_06042025_21_16_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/4/6/a7bfe74ced5bfff411c22762de432855.jpg","text":"TemporaryFile(/tmp/multipartBody6891917516459576886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971523406,"filename":"image_06042025_21_15_54_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350195354","file1":"1350195319","file0":"1350195304","file4":"1350195361","file5":"1350195364","file3":"1350195357"},"map_files_photo_id_array":[{"photo_id":"1350195364","filename":"file5"},{"photo_id":"1350195354","filename":"file2"},{"photo_id":"1350195361","filename":"file4"},{"photo_id":"1350195319","filename":"file1"},{"photo_id":"1350195304","filename":"file0"},{"photo_id":"1350195357","filename":"file3"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350195357":["hashtag1","hashtag2"]},{"1350195354":["hashtag1","hashtag2"]},{"1350195361":["hashtag1","hashtag2"]},{"1350195364":["hashtag1","hashtag2"]},{"1350195319":["hashtag1","hashtag2"]},{"1350195304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350195357, 1350195354, 1350195361, 1350195364, 1350195319, 1350195304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50653028488159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:31:41.790011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/21/image_06042025_21_21_33_2702.jpg', '/home/pi/Desktop/images/06042025/21/50/image_06042025_21_50_35_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/21/21/image_06042025_21_21_33_2702.jpg
/home/pi/Desktop/images/06042025/21/50/image_06042025_21_50_35_2849.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350195416","1350195412"],"photo_ids_order":["1350195412","1350195416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4e220531c18f9657a5ec31ce3059a0cb.jpg","text":"TemporaryFile(/tmp/multipartBody7043250440886145876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971562363,"filename":"image_06042025_21_50_35_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a671d35da66e9333311fd287ae83d2f1.jpg","text":"TemporaryFile(/tmp/multipartBody1525640445956553060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971562363,"filename":"image_06042025_21_21_33_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1350195416","file0":"1350195412"},"map_files_photo_id_array":[{"photo_id":"1350195416","filename":"file1"},{"photo_id":"1350195412","filename":"file0"}],"portfolio_id":22083908,"hashtag_by_photo_ids":[{"1350195416":["hashtag1","hashtag2"]},{"1350195412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083908 used, photo_id : ArrayBuffer(1350195416, 1350195412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.074766635894775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:32:03.293267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083407
  datou_current_id : 2727233
in upload_from_sqlite, uploading in 22083407
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05042025/17/10/image_05042025_17_10_08_3011.jpg', '/home/pi/Desktop/images/05042025/17/12/image_05042025_17_12_20_3168.jpg', '/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_23_3645.jpg', '/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_32_3636.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_50_2761.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_52_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727233&datou=0
/home/pi/Desktop/images/05042025/17/10/image_05042025_17_10_08_3011.jpg
/home/pi/Desktop/images/05042025/17/12/image_05042025_17_12_20_3168.jpg
/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_23_3645.jpg
/home/pi/Desktop/images/05042025/17/13/image_05042025_17_13_32_3636.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_50_2761.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_52_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350195435","1350195440","1350195443","1350195437","1350195433","1350195430"],"photo_ids_order":["1350195430","1350195433","1350195435","1350195437","1350195440","1350195443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5ed04b3b036286b8108d22b683f337cd.jpg","text":"TemporaryFile(/tmp/multipartBody9159397307967510498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971585734,"filename":"image_05042025_17_13_23_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/fa296b78d2ffe62a6797bf927c915a91.jpg","text":"TemporaryFile(/tmp/multipartBody766136049699895877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971585734,"filename":"image_05042025_17_14_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/4/6/8f832c38873b15b0b7a847573df0cada.jpg","text":"TemporaryFile(/tmp/multipartBody4677155508724299806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971585734,"filename":"image_05042025_17_14_52_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9089ece300af5bd28574a3959728a4f3.jpg","text":"TemporaryFile(/tmp/multipartBody4235247884108911580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971585734,"filename":"image_05042025_17_13_32_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/9fee23988c301072c04cdee2ea824421.jpg","text":"TemporaryFile(/tmp/multipartBody2364795719300044632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971585734,"filename":"image_05042025_17_12_20_3168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4138878ae891b655aeb1be944a70ba04.jpg","text":"TemporaryFile(/tmp/multipartBody7741014178376146628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971585734,"filename":"image_05042025_17_10_08_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350195435","file1":"1350195433","file0":"1350195430","file4":"1350195440","file5":"1350195443","file3":"1350195437"},"map_files_photo_id_array":[{"photo_id":"1350195443","filename":"file5"},{"photo_id":"1350195435","filename":"file2"},{"photo_id":"1350195440","filename":"file4"},{"photo_id":"1350195433","filename":"file1"},{"photo_id":"1350195430","filename":"file0"},{"photo_id":"1350195437","filename":"file3"}],"portfolio_id":22083407,"hashtag_by_photo_ids":[{"1350195435":["hashtag1","hashtag2"]},{"1350195440":["hashtag1","hashtag2"]},{"1350195443":["hashtag1","hashtag2"]},{"1350195437":["hashtag1","hashtag2"]},{"1350195433":["hashtag1","hashtag2"]},{"1350195430":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083407 used, photo_id : ArrayBuffer(1350195435, 1350195440, 1350195443, 1350195437, 1350195433, 1350195430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.202250242233276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:32:42.802646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083407
  datou_current_id : 2727233
in upload_from_sqlite, uploading in 22083407
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_56_3555.jpg', '/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_59_2674.jpg', '/home/pi/Desktop/images/05042025/17/15/image_05042025_17_15_07_3011.jpg', '/home/pi/Desktop/images/05042025/17/26/image_05042025_17_26_16_2680.jpg', '/home/pi/Desktop/images/05042025/17/56/image_05042025_17_56_34_2713.jpg', '/home/pi/Desktop/images/05042025/18/17/image_05042025_18_17_30_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727233&datou=0
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_56_3555.jpg
/home/pi/Desktop/images/05042025/17/14/image_05042025_17_14_59_2674.jpg
/home/pi/Desktop/images/05042025/17/15/image_05042025_17_15_07_3011.jpg
/home/pi/Desktop/images/05042025/17/26/image_05042025_17_26_16_2680.jpg
/home/pi/Desktop/images/05042025/17/56/image_05042025_17_56_34_2713.jpg
/home/pi/Desktop/images/05042025/18/17/image_05042025_18_17_30_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350195465","1350195459","1350195450","1350195468","1350195463","1350195454"],"photo_ids_order":["1350195450","1350195454","1350195459","1350195463","1350195465","1350195468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/73e5135bf8e13a246710c049cf4ece23.jpg","text":"TemporaryFile(/tmp/multipartBody6884997889693735303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971624172,"filename":"image_05042025_17_56_34_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/07645ea57a36ef89fadb75d7de90567f.jpg","text":"TemporaryFile(/tmp/multipartBody8662058994447905663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971624172,"filename":"image_05042025_17_15_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a1677dc0dd686d7d0e25c8b240c0f9bc.jpg","text":"TemporaryFile(/tmp/multipartBody8092402767287127641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971624172,"filename":"image_05042025_17_14_56_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/d5952e94fdbf4b5e39037ce44fc79a3d.jpg","text":"TemporaryFile(/tmp/multipartBody5274363715097467637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971624172,"filename":"image_05042025_18_17_30_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f690d331fa608c736c6cfa5ba2b7641b.jpg","text":"TemporaryFile(/tmp/multipartBody8539739179443649533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971624172,"filename":"image_05042025_17_26_16_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/914370d077b70150ee836eae8b56f2dc.jpg","text":"TemporaryFile(/tmp/multipartBody566948324492409410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971624172,"filename":"image_05042025_17_14_59_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350195459","file1":"1350195454","file0":"1350195450","file4":"1350195465","file5":"1350195468","file3":"1350195463"},"map_files_photo_id_array":[{"photo_id":"1350195468","filename":"file5"},{"photo_id":"1350195459","filename":"file2"},{"photo_id":"1350195465","filename":"file4"},{"photo_id":"1350195454","filename":"file1"},{"photo_id":"1350195450","filename":"file0"},{"photo_id":"1350195463","filename":"file3"}],"portfolio_id":22083407,"hashtag_by_photo_ids":[{"1350195465":["hashtag1","hashtag2"]},{"1350195459":["hashtag1","hashtag2"]},{"1350195450":["hashtag1","hashtag2"]},{"1350195468":["hashtag1","hashtag2"]},{"1350195463":["hashtag1","hashtag2"]},{"1350195454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083407 used, photo_id : ArrayBuffer(1350195465, 1350195459, 1350195450, 1350195468, 1350195463, 1350195454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5800518989563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:33:22.291058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083407
  datou_current_id : 2727233
in upload_from_sqlite, uploading in 22083407
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05042025/19/22/image_05042025_19_22_08_2696.jpg', '/home/pi/Desktop/images/05042025/19/24/image_05042025_19_24_42_3984.jpg', '/home/pi/Desktop/images/05042025/19/24/image_05042025_19_24_44_1670.jpg', '/home/pi/Desktop/images/05042025/19/24/image_05042025_19_24_46_2788.jpg', '/home/pi/Desktop/images/05042025/19/51/image_05042025_19_51_36_3568.jpg', '/home/pi/Desktop/images/05042025/19/59/image_05042025_19_59_11_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727233&datou=0
/home/pi/Desktop/images/05042025/19/22/image_05042025_19_22_08_2696.jpg
/home/pi/Desktop/images/05042025/19/24/image_05042025_19_24_42_3984.jpg
/home/pi/Desktop/images/05042025/19/24/image_05042025_19_24_44_1670.jpg
/home/pi/Desktop/images/05042025/19/24/image_05042025_19_24_46_2788.jpg
/home/pi/Desktop/images/05042025/19/51/image_05042025_19_51_36_3568.jpg
/home/pi/Desktop/images/05042025/19/59/image_05042025_19_59_11_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":["1350195498","1350195483","1350195531","1350195518","1350195509","1350195478"],"photo_ids_order":["1350195478","1350195483","1350195498","1350195509","1350195518","1350195531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/c726e27fd9b04d8a03225e141be5eb2a.jpg","text":"TemporaryFile(/tmp/multipartBody1774539455374236281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971665502,"filename":"image_05042025_19_24_44_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7f995e5d385a6c0155c1a668ee7f3fb5.jpg","text":"TemporaryFile(/tmp/multipartBody1256776583228895687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971665502,"filename":"image_05042025_19_24_42_3984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/941b244d884691743accdf5bcd4b347b.jpg","text":"TemporaryFile(/tmp/multipartBody2210371970337814366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971665502,"filename":"image_05042025_19_59_11_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/a751e7f4601eeaff6a97e149f2da2fdb.jpg","text":"TemporaryFile(/tmp/multipartBody2023693212251503402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971665502,"filename":"image_05042025_19_51_36_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b8ff3ab830d8f2a624d86be128ad538f.jpg","text":"TemporaryFile(/tmp/multipartBody8466112099241489361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971665502,"filename":"image_05042025_19_24_46_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f039963aa9ea540f2c9240bb5aa4a590.jpg","text":"TemporaryFile(/tmp/multipartBody8230783729173947087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971665502,"filename":"image_05042025_19_22_08_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350195498","file1":"1350195483","file0":"1350195478","file4":"1350195518","file5":"1350195531","file3":"1350195509"},"map_files_photo_id_array":[{"photo_id":"1350195531","filename":"file5"},{"photo_id":"1350195498","filename":"file2"},{"photo_id":"1350195518","filename":"file4"},{"photo_id":"1350195483","filename":"file1"},{"photo_id":"1350195478","filename":"file0"},{"photo_id":"1350195509","filename":"file3"}],"portfolio_id":22083407,"hashtag_by_photo_ids":[{"1350195498":["hashtag1","hashtag2"]},{"1350195483":["hashtag1","hashtag2"]},{"1350195531":["hashtag1","hashtag2"]},{"1350195518":["hashtag1","hashtag2"]},{"1350195509":["hashtag1","hashtag2"]},{"1350195478":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083407 used, photo_id : ArrayBuffer(1350195498, 1350195483, 1350195531, 1350195518, 1350195509, 1350195478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38511061668396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:34:22.245733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083407
  datou_current_id : 2727233
in upload_from_sqlite, uploading in 22083407
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05042025/20/15/image_05042025_20_15_03_2593.jpg', '/home/pi/Desktop/images/05042025/21/08/image_05042025_21_08_40_2576.jpg', '/home/pi/Desktop/images/05042025/21/14/image_05042025_21_14_01_2752.jpg', '/home/pi/Desktop/images/05042025/21/16/image_05042025_21_16_43_3250.jpg', '/home/pi/Desktop/images/05042025/21/17/image_05042025_21_17_42_2681.jpg', '/home/pi/Desktop/images/05042025/21/18/image_05042025_21_18_03_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727233&datou=0
/home/pi/Desktop/images/05042025/20/15/image_05042025_20_15_03_2593.jpg
/home/pi/Desktop/images/05042025/21/08/image_05042025_21_08_40_2576.jpg
/home/pi/Desktop/images/05042025/21/14/image_05042025_21_14_01_2752.jpg
/home/pi/Desktop/images/05042025/21/16/image_05042025_21_16_43_3250.jpg
/home/pi/Desktop/images/05042025/21/17/image_05042025_21_17_42_2681.jpg
/home/pi/Desktop/images/05042025/21/18/image_05042025_21_18_03_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350195729","1350195593","1350195577","1350195591","1350195610","1350195604"],"photo_ids_order":["1350195577","1350195591","1350195593","1350195604","1350195610","1350195729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f40f3e95363f6c84d37f738817e07074.jpg","text":"TemporaryFile(/tmp/multipartBody3323084656627588789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971725325,"filename":"image_05042025_21_18_03_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/2d542903b95d5cd74bbdbb7ffdd55e3b.jpg","text":"TemporaryFile(/tmp/multipartBody1250350388177124167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971725325,"filename":"image_05042025_21_14_01_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/db271e222d8f985e3c24a0dbb4556e0c.jpg","text":"TemporaryFile(/tmp/multipartBody7823630617367399830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971725325,"filename":"image_05042025_20_15_03_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4a395345d43f8105ac04443610218688.jpg","text":"TemporaryFile(/tmp/multipartBody8768188555036635593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971725325,"filename":"image_05042025_21_08_40_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/ddabaae8ce402cd6380ce1405957b8aa.jpg","text":"TemporaryFile(/tmp/multipartBody5841157167065748938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971725325,"filename":"image_05042025_21_17_42_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3bb4249ea5b3ae67e2e5514a1050f309.jpg","text":"TemporaryFile(/tmp/multipartBody3727222784473031498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971725325,"filename":"image_05042025_21_16_43_3250.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350195593","file1":"1350195591","file0":"1350195577","file4":"1350195610","file5":"1350195729","file3":"1350195604"},"map_files_photo_id_array":[{"photo_id":"1350195729","filename":"file5"},{"photo_id":"1350195593","filename":"file2"},{"photo_id":"1350195610","filename":"file4"},{"photo_id":"1350195591","filename":"file1"},{"photo_id":"1350195577","filename":"file0"},{"photo_id":"1350195604","filename":"file3"}],"portfolio_id":22083407,"hashtag_by_photo_ids":[{"1350195729":["hashtag1","hashtag2"]},{"1350195593":["hashtag1","hashtag2"]},{"1350195577":["hashtag1","hashtag2"]},{"1350195591":["hashtag1","hashtag2"]},{"1350195610":["hashtag1","hashtag2"]},{"1350195604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083407 used, photo_id : ArrayBuffer(1350195729, 1350195593, 1350195577, 1350195591, 1350195610, 1350195604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70776581764221 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:35:22.455478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/04/image_06042025_22_04_34_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/22/04/image_06042025_22_04_34_2648.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350195779"],"photo_id":"1350195779","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5841ebc8bfc23590c3f17f0d91317edb.jpg","text":"TemporaryFile(/tmp/multipartBody4863047655044349421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971782976,"filename":"image_06042025_22_04_34_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350195779"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350195779"}],"hashtags":[],"portfolio_id":"22083908","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.20035696029663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:35:42.524013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083407
  datou_current_id : 2727233
in upload_from_sqlite, uploading in 22083407
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05042025/21/19/image_05042025_21_19_45_1701.jpg', '/home/pi/Desktop/images/05042025/21/22/image_05042025_21_22_35_2802.jpg', '/home/pi/Desktop/images/05042025/21/30/image_05042025_21_30_11_3634.jpg', '/home/pi/Desktop/images/05042025/23/03/image_05042025_23_04_01_3635.jpg', '/home/pi/Desktop/images/05042025/23/08/image_05042025_23_08_34_2656.jpg', '/home/pi/Desktop/images/05042025/23/18/image_05042025_23_18_50_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727233&datou=0
/home/pi/Desktop/images/05042025/21/19/image_05042025_21_19_45_1701.jpg
/home/pi/Desktop/images/05042025/21/22/image_05042025_21_22_35_2802.jpg
/home/pi/Desktop/images/05042025/21/30/image_05042025_21_30_11_3634.jpg
/home/pi/Desktop/images/05042025/23/03/image_05042025_23_04_01_3635.jpg
/home/pi/Desktop/images/05042025/23/08/image_05042025_23_08_34_2656.jpg
/home/pi/Desktop/images/05042025/23/18/image_05042025_23_18_50_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350195822","1350195827","1350195812","1350195815","1350195806","1350195820"],"photo_ids_order":["1350195806","1350195812","1350195815","1350195820","1350195822","1350195827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/20edbbfd91c75e5e772cb88e02e8fd3d.jpg","text":"TemporaryFile(/tmp/multipartBody4590184960075452368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971803901,"filename":"image_05042025_23_08_34_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/0a97cbb3c25ca3a5d6f3428623367e1d.jpg","text":"TemporaryFile(/tmp/multipartBody8466358104654577759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971803901,"filename":"image_05042025_23_18_50_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/f8065bbd26878501a991c5abd00dbb0f.jpg","text":"TemporaryFile(/tmp/multipartBody5414079814385615005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971803901,"filename":"image_05042025_21_22_35_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/04010af042f5cbb29fb9341aa46e5b51.jpg","text":"TemporaryFile(/tmp/multipartBody5845050196153859712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971803901,"filename":"image_05042025_21_30_11_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/34d9096696a5adcfc66cba361a56197f.jpg","text":"TemporaryFile(/tmp/multipartBody3480550539828133062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971803901,"filename":"image_05042025_21_19_45_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/01b5b99ca508e6d99605ec9f28d862ef.jpg","text":"TemporaryFile(/tmp/multipartBody4390295210400396838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971803901,"filename":"image_05042025_23_04_01_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350195815","file1":"1350195812","file0":"1350195806","file4":"1350195822","file5":"1350195827","file3":"1350195820"},"map_files_photo_id_array":[{"photo_id":"1350195827","filename":"file5"},{"photo_id":"1350195815","filename":"file2"},{"photo_id":"1350195822","filename":"file4"},{"photo_id":"1350195812","filename":"file1"},{"photo_id":"1350195806","filename":"file0"},{"photo_id":"1350195820","filename":"file3"}],"portfolio_id":22083407,"hashtag_by_photo_ids":[{"1350195822":["hashtag1","hashtag2"]},{"1350195827":["hashtag1","hashtag2"]},{"1350195812":["hashtag1","hashtag2"]},{"1350195815":["hashtag1","hashtag2"]},{"1350195806":["hashtag1","hashtag2"]},{"1350195820":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083407 used, photo_id : ArrayBuffer(1350195822, 1350195827, 1350195812, 1350195815, 1350195806, 1350195820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46033048629761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:36:21.794950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083407
  datou_current_id : 2727233
in upload_from_sqlite, uploading in 22083407
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05042025/23/20/image_05042025_23_20_23_2608.jpg', '/home/pi/Desktop/images/05042025/23/26/image_05042025_23_26_38_2566.jpg', '/home/pi/Desktop/images/05042025/23/31/image_05042025_23_31_04_2639.jpg', '/home/pi/Desktop/images/05042025/23/34/image_05042025_23_34_42_2771.jpg', '/home/pi/Desktop/images/05042025/23/49/image_05042025_23_49_38_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727233&datou=0
/home/pi/Desktop/images/05042025/23/20/image_05042025_23_20_23_2608.jpg
/home/pi/Desktop/images/05042025/23/26/image_05042025_23_26_38_2566.jpg
/home/pi/Desktop/images/05042025/23/31/image_05042025_23_31_04_2639.jpg
/home/pi/Desktop/images/05042025/23/34/image_05042025_23_34_42_2771.jpg
/home/pi/Desktop/images/05042025/23/49/image_05042025_23_49_38_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":["1350195843","1350195857","1350195851","1350195854","1350195848"],"photo_ids_order":["1350195843","1350195848","1350195851","1350195854","1350195857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/3824dc9156accb02f7d943ea4ed0e853.jpg","text":"TemporaryFile(/tmp/multipartBody2994640375942195308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971845094,"filename":"image_05042025_23_20_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/4/6/551e72610bdd57e870886b0c7025e6f6.jpg","text":"TemporaryFile(/tmp/multipartBody2867445206528895771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971845094,"filename":"image_05042025_23_49_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/4/6/99f8a6c16d2a90ffbe6421a34c8fa0a3.jpg","text":"TemporaryFile(/tmp/multipartBody6853305686687038777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971845094,"filename":"image_05042025_23_31_04_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/4f777167a8f8104d66cdff62b18f3f92.jpg","text":"TemporaryFile(/tmp/multipartBody8008854257505131676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971845094,"filename":"image_05042025_23_34_42_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/6a74356ace5a006081f8dff15ad7471a.jpg","text":"TemporaryFile(/tmp/multipartBody5770931175664008521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971845094,"filename":"image_05042025_23_26_38_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1350195851","file1":"1350195848","file0":"1350195843","file4":"1350195857","file3":"1350195854"},"map_files_photo_id_array":[{"photo_id":"1350195851","filename":"file2"},{"photo_id":"1350195857","filename":"file4"},{"photo_id":"1350195848","filename":"file1"},{"photo_id":"1350195843","filename":"file0"},{"photo_id":"1350195854","filename":"file3"}],"portfolio_id":22083407,"hashtag_by_photo_ids":[{"1350195843":["hashtag1","hashtag2"]},{"1350195857":["hashtag1","hashtag2"]},{"1350195851":["hashtag1","hashtag2"]},{"1350195854":["hashtag1","hashtag2"]},{"1350195848":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083407 used, photo_id : ArrayBuffer(1350195843, 1350195857, 1350195851, 1350195854, 1350195848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 50.26432514190674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:37:22.832322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/35/image_06042025_22_35_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/22/35/image_06042025_22_35_07_3011.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350195917"],"photo_id":"1350195917","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/dd6f5ea0369c616879973f3137e7b930.jpg","text":"TemporaryFile(/tmp/multipartBody3864971384906277734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743971903359,"filename":"image_06042025_22_35_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350195917"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350195917"}],"hashtags":[],"portfolio_id":"22083908","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.997530937194824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:37:42.842595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:38:02.798987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:38:22.141626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:38:42.143133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:39:03.613449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:39:22.512281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/37/image_06042025_22_37_58_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/22/37/image_06042025_22_37_58_2686.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350196072"],"photo_id":"1350196072","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/74c967ba90934a56ad96fc7d876da8fe.jpg","text":"TemporaryFile(/tmp/multipartBody2096243216090535656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743972023039,"filename":"image_06042025_22_37_58_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350196072"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350196072"}],"hashtags":[],"portfolio_id":"22083908","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.081015825271606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:39:43.699547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:40:02.420619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:40:22.003014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:40:42.029850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:41:03.232349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:41:22.381489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:41:42.437799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:42:02.767205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:42:22.174020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:42:42.174564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:43:03.128059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:43:22.374642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:43:42.436955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:44:02.699802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:44:22.041706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:44:42.177726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:45:02.779525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:45:22.143925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:45:42.134825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:46:02.914146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:46:22.328386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:46:42.440911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:47:02.993790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:47:22.254572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:47:42.418724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:48:02.814204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:48:22.331213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:48:42.284949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:49:03.483376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:49:22.330820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:49:42.396855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:50:02.863829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:50:22.131634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:50:42.199346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:51:03.072248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:51:22.183466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:51:42.117433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:52:02.359045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:52:21.815652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:52:41.872547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:53:03.004229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:53:22.088942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:53:42.154766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:54:02.668964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:54:21.816003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:54:41.927777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:55:03.035524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:55:22.243883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:55:42.276333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:56:03.254053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:56:22.685566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:56:42.704600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:57:02.595033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:57:21.967824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:57:41.846749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 22:59:02.866273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 22:59:21.757004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 22:59:41.808873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:00:03.002913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:00:22.458737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:00:42.577750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:01:02.962397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:01:24.619078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:01:42.304758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:02:02.747086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:02:22.143504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:02:42.251366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:03:03.459480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:03:22.654594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:03:42.609907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:04:03.151631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:04:22.364268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:04:42.349616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:05:02.685572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:05:21.785246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:05:41.895856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:06:02.861190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:06:22.359748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:06:42.438764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:07:02.744950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:07:21.873457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:07:41.940956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:08:03.366973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:08:22.880770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:08:42.846892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:09:03.038291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:09:21.926653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:09:41.951734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:10:02.605084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:10:22.002564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:10:42.172282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:11:02.933831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:11:22.095922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:11:42.176088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:12:02.682041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:12:22.158344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:12:42.212997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:13:03.490288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:13:22.605339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:13:42.618533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:14:03.292468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:14:22.311614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:14:42.351346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:15:03.516985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:15:22.728182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:15:42.748324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:16:03.080911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:16:22.392151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:16:42.482573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:17:02.510213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:17:21.883813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:17:41.821439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:18:02.444083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:18:21.811333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:18:41.861361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:19:03.345119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:19:22.280072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:19:42.325845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:20:02.675157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:20:22.086781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:20:42.009361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:21:03.466449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:21:22.552704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:21:42.636591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:22:03.011597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:22:22.381907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:22:42.424145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:23:02.668232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:23:21.760060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:23:41.893833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:24:03.284808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:24:22.641026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:24:42.704163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:25:03.187165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:25:22.475956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:25:42.482425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:26:02.884114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:26:22.227776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:26:42.232285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:27:03.558302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:27:22.815742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/39/image_06042025_22_39_07_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/22/39/image_06042025_22_39_07_2679.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350200224"],"photo_id":"1350200224","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/7fc0f75a6e20789dfed8a20fd0e5e226.jpg","text":"TemporaryFile(/tmp/multipartBody356524636834689119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743974903340,"filename":"image_06042025_22_39_07_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350200224"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350200224"}],"hashtags":[],"portfolio_id":"22083908","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.944175243377686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:27:42.751874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:28:03.186397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:28:22.500994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:28:42.608881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:29:03.119634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:29:22.006058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/27/image_06042025_23_27_43_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/23/27/image_06042025_23_27_43_3786.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350200276"],"photo_id":"1350200276","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/5405a471316b638773a17de198592298.jpg","text":"TemporaryFile(/tmp/multipartBody1369830499815144010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743975022558,"filename":"image_06042025_23_27_43_3786.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350200276"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350200276"}],"hashtags":[],"portfolio_id":"22083908","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.86894941329956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:29:42.041039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:30:03.206735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:30:22.666326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:30:42.688463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:31:02.912510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:31:22.031952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:31:42.112595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:32:03.447458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:32:22.784620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:32:42.752256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:33:02.887706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:33:22.137804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:33:42.288541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:34:02.462158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:34:21.860067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:34:41.866618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:35:03.370648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:35:22.581264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:35:42.709268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:36:03.155453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:36:22.584892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:36:42.612879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:37:02.952351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:37:22.193119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:37:42.202730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:38:02.686734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:38:22.087243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:38:42.450557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:39:03.264868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:39:22.244392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:39:42.280935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:40:02.425988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:40:21.852293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:40:41.893859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:41:03.344424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:41:22.526711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:41:42.661725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:42:03.109547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:42:22.449862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:42:42.543009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:43:02.996746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:43:22.049855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:43:42.079867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:44:02.906984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:44:22.153146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:44:42.248698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:45:03.622845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:45:22.690459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:45:42.756154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:46:02.728866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:46:22.073362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:46:42.156322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:47:03.460576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:47:22.595172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:47:42.688606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:48:03.006494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:48:22.454337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:48:42.473051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:49:02.973847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:49:21.890783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:49:41.895223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:50:02.564399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:50:21.938392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:50:41.992585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:51:03.563043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:51:22.677965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:51:42.754977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:52:03.350224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:52:22.720333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:52:42.778881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:53:02.789706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:53:22.097963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:53:42.194729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:54:03.361127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:54:22.666181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/29/image_06042025_23_29_13_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/23/29/image_06042025_23_29_13_2793.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350202937"],"photo_id":"1350202937","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/b3a1a65daeb05dc669676c249e97b7d9.jpg","text":"TemporaryFile(/tmp/multipartBody1413919865288942747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743976523197,"filename":"image_06042025_23_29_13_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350202937"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350202937"}],"hashtags":[],"portfolio_id":"22083908","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.434027671813965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:54:42.620062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:55:03.044839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:55:22.243580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:55:42.316766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:56:02.801680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:56:22.099293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250327 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:56:42.119787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-04-06 23:57:02.830913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-04-06 23:57:22.168945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083908
  datou_current_id : 2727254
in upload_from_sqlite, uploading in 22083908
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/54/image_06042025_23_54_13_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2727254&datou=0
/home/pi/Desktop/images/06042025/23/54/image_06042025_23_54_13_2776.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1350203077"],"photo_id":"1350203077","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/6/830634381e52ddb6a1d42259dd4a927a.jpg","text":"TemporaryFile(/tmp/multipartBody1080677577250195979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1743976702697,"filename":"image_06042025_23_54_13_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1350203077"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1350203077"}],"hashtags":[],"portfolio_id":"22083908","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.657398700714111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-04-06 23:57:42.165518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
